Rating the bikeability of Albuquerque neighborhoods
Python
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits ahead, 5 commits behind cfa-nm:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
output
.gitignore
README.md
bikeability.py
bikepathparse.py
map.jinja2
pathinsquare.py
requirements.txt

README.md

Bikeability

Rating the bikeability of Albuquerque neighborhoods

Using data sourced from the city of Albuquerque and possibly the public, the idea behind bikeability is to rate how bikeable different parts of the city are.

This project will evolve as we go. We are starting with a minimum vision of determining the number of bike lanes / paths / trails / boulevards through each square mile zone of Albuquerque.

We'll see what happens from there.

Data sources:

ABQ Data

Getting up and running

Download both the bike paths data and zone atlas data from the City of Albuquerque's ABQ Data portal, and convert them from KMZ to KML:

wget http://data.cabq.gov/community/bikepaths/BikePaths.kmz \
     http://data.cabq.gov/business/zoneatlas/zoneatlaspagegrid.kmz
unzip BikePaths.kmz
mv doc.kml BikePaths.kml
unzip zoneatlaspagegrid.kmz
mv doc.kml zoneatlaspagegrid.kml

setup a virtualenv (recommended) and install requirements:

virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

And then run:

./bikeability.py BikePaths.kml zoneatlaspagegrid.kml output/ABQsquares.json