Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a python file http://pastebin.com/jzwE6c6P which iterates over the features of a shapefile and renders a simple image by zooming to the bounding box of each feature. What I need is OpenstreetMap as a basemap. I have OpenStreetMap successfully loaded in a postis database. I can produce an OpenStreetMap with the mapnik example generate_image.py, but I have no idea how to call the osm file.

http://svn.openstreetmap.org/applications/rendering/mapnik/generate_image.py

Any help would be greatly appreciated

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.