Open City Street Map (backend)
 
 
 
 
 
 
Go to file
David MENTRE 3bcb65a991 Rename LICENSE into COPYING 2009-08-31 20:59:43 +02:00
ocitysmap
.gitignore
COPYING
Openstreetmap_logo.png
Openstreetmap_logo.svg
README
ocitysmap-init.sql
ocitysmap-render
ocitysmap.conf
setup.py

README

Open City Street Map
--------------------

ocitysmap generates a city street map, using the OpenStreetMap project's data
and the MapNik map renderer. The generated maps are vector graphics images,
including a street index and city grid.

For example, for a simple Sanguinet rendering, run:

 ./ocitysmap-render -f png Sanguinet

Alternately you may specify a bounding box rather than a City:

 ./ocitysmap-render -f png -b 44.4883,-1.0901 44.4778,-1.0637

This is useful when OpenStreetMap does not contain the administrative boundary
of the city.

You should first create /etc/ocitysmap.conf and/or ~/.ocitysmap from the
template ocitysmap.conf.

Dependencies
 - python-pygresql
 - python-mapnik
 - python-gdal
 - a PostGIS database filled with OpenStreetMap data
 - Mapnik data for OSM rendering and configured osm.xml file

This code is under AGPLv3 (GNU Affero General Public License 3.0) except
the included OpenStreetMap logo under CC-BY-SA (Creative Common
Attribution-Share Alike) license.

Code by David Decotigny, Frédéric Lehobey, David Mentré, Maxime
Petazzoni, Thomas Petazzoni and Gaël Utard.