/osm_walkability

Training on Open Street Map derived features for constructing BEH walkability index

Primary LanguageJupyter Notebook

OSM Walkability

Training on Open Street Map derived features for constructing a walkability index

Data

OSM New York NY - Mapzen Metro Extract - accessed 2017/08/21

Methods

Open .osm.pbf, converted to .csv in QGIS.

n = 234,942

How do I want to structure the OSM data?

  • X
  • Y
  • osm_id
  • name
    • This is the OSM feature name, less important for categoriezation.
  • barrier
  • highway
  • ref
  • address
  • is_in
  • place
  • man_made
  • other_tags
    • A lot of information is in here, most tags with specific values

Resources:

https://github.com/mvexel/overpass-api-python-wrapper

http://wiki.openstreetmap.org/wiki/Points_of_interest

http://blogs.cuit.columbia.edu/socialepicluster/2017/03/06/webinar-online-urban-informatics-studying-how-urban-design-influences-health-in-new-york-city/

https://taginfo.openstreetmap.org/keys

https://github.com/mvexel/overpass-api-python-wrapper

http://wiki.openstreetmap.org/wiki/Osmconvert

Project Requirements (needs to be updated, see nygeog#5

Project Requirements - for easily getting started with this project using Python.

virtualenv env
source env/bin/activate
wget https://raw.githubusercontent.com/nygeog/cartoprojectsrequirements/master/requirements.txt
wget https://raw.githubusercontent.com/nygeog/cartoprojectsrequirements/master/.gitignore
pip install -r requirements.txt
jupyter nbextension enable --py --sys-prefix widgetsnbextension
open .gitignore
touch _settings.py
open _settings.py
mkdir data
mkdir data/input
mkdir data/processing
mkdir data/output
python -m pip install -U pip setuptools
pip install wheel
pip install -U numpy scipy scikit-learn
pip install overpass