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
https://taginfo.openstreetmap.org/keys
https://github.com/mvexel/overpass-api-python-wrapper
http://wiki.openstreetmap.org/wiki/Osmconvert
nygeog#5
Project Requirements (needs to be updated, seeProject 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