Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

added demo to readme

latest commit 12e6808108
Brian Boyer authored
Failed to load latest commit information.
DEC_10_PL_GCTPL2.ST05 the code
census-demo the code
merged the code
tilemill
tl_2010_17_county10 the code
.gitignore tweaked setup script, updated readme and fixed the style files
README added demo to readme
csvcut the code
merge.sql the code
population.csv the code
render the code
render_tiles.py the code
requirements.txt the code
setup tweaked setup script, updated readme and fixed the style files
style the code

README

This code accompanies a five-part blog series on our recent explorations making choropleth maps using PostGIS, TileMill, Mapnik and Google Maps. On completion of the tutorial you'll have made something like this:
http://media.apps.chicagotribune.com/census-2010/census-demo/index.html

To work through the tutorial go here:
http://blog.apps.chicagotribune.com/2011/03/07/making-maps-1/

If you're impatient, install the requirements...

PostgreSQL, PostGIS, GDAL, etc. geo stack:
http://blog.apps.chicagotribune.com/2010/02/17/quick-install-pythonpostgis-geo-stack-on-snow-leopard/

PostGIS spatial database template:
http://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#spatialdb-template

Mapnik and TileMill:
https://github.com/mapbox/tilemill

pip, virtualenv and virtualenvwrapper:
http://pypi.python.org/pypi/pip
http://pypi.python.org/pypi/virtualenv
http://www.doughellmann.com/projects/virtualenvwrapper/

And install the required Python libraries to a virtualenv:
mkvirtualenv making-maps-demo
pip install -r requirements.txt

...and fire up your tiles.

./setup
./style
./render
Something went wrong with that request. Please try again.