/bna-tools

Tools and Documentation for the Bicycle Network Analysis for Austin, TX

Primary LanguagePythonMIT LicenseMIT

BNA hack-a-thon

Goal

  • One document (instead of 3)
  • Less scrolling
  • Simplify researching for examples and official pages
  • Provide a better way to distribute the tasks
  • Provide a way to monitor progress

Setup

The tools require at the minimum Python 3.7+ and invoke.

brew install python3
pip3 install invoke

You can also run the bootstrap/bootstrap-osx.sh script to install all the dependencies at once.

Then simply run inv to setup the environment.

Images

Resize the images:

cd images-orig
mogrify -resize 240x -path ../images *.png

Generate a list of Austin streets

Street Names from the Open Data Portal of Austin

The city of Austin provides a full inventory of all the street names of the city:

However not all the streets are mapped in OSM.

Use the tools/odp-streets.py script to generate the list.

Polygon + map

Use the method described by James Chevalier to generate the osm document for Austin using osmosis (usage).

Then use osmfilter and osmconvert to extract the street information. See OSM help for the detailed answer which helped me generate the list of information needed.

Use the tools/osm-streets.py script to generate the list.