Open City Street Map (backend)
 
 
 
 
 
 
Go to file
Maxime Petazzoni 4516668adb Merge branch 'master' into stable
Merge changes from all hackfests in 2011 and 2012.

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
2012-04-13 12:09:03 +02:00
images Higher definition OSM logo 2010-08-07 19:10:04 +02:00
locale Fix minor formatting issue in de translation 2012-04-11 08:57:55 +02:00
ocitysmap2 Bug fix: Don't correct with latitude for multi-page renderer 2012-04-12 18:33:08 +02:00
stylesheet Orange stylesheet of Pierre Mauduit adapted to Mapnik2. 2012-03-31 19:34:56 +02:00
support Document and provide a patch on MapQuest stylesheet 2012-04-12 19:02:01 +02:00
.gitignore Fix .gitignore after stylesheet renaming 2012-03-31 18:45:54 +02:00
AUTHORS Add Étienne in the AUTHORS file 2012-04-01 15:59:21 +02:00
COPYING Add copyright holder for OSM logo 2009-08-31 22:53:03 +02:00
I18N Update I18N documentation file for new i18n.py script 2010-01-20 20:29:11 +01:00
INSTALL Document and provide a patch on MapQuest stylesheet 2012-04-12 19:02:01 +02:00
README Renamed --polygon-osmid cmdline option as --osmid 2010-10-11 10:13:14 +02:00
i18n.py Use xgettext instead of deprecated pygettext. 2012-04-03 13:08:43 +02:00
ocitysmap2-render Remove dead code about zoom_level 2012-04-01 01:46:31 +02:00
ocitysmap2.conf-template config: make it possible to configure the port to connect to the GIS database 2012-03-25 11:28:28 +02:00
setup.py Updated setup.py 2010-09-11 16:59:42 +02:00

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 Chevreuse rendering, run:

 ./ocitysmap2-render -t "Ceci n'est pas Paris" --osmid=-943886

Alternatively you may specify a bounding box rather than an OSM ID:

 ./ocitysmap2-render -t "Ceci n'est pas Paris" -b 48.7268,1.9946 48.6801,2.0742

This is useful when OpenStreetMap does not contain the administrative
boundary of the city you want to render. To determine the OSM ID
and/or the bounding box of cities from their name, please use the
nominatim service: http://nominatim.openstreetmap.org/

By default, the maps are generated in PDF format with the street index
at the bottom, with an additional CSV containing the street index. To
see the available options to change this behavior, please run:

  ./ocitysmap2-render --help

See INSTALL for installation instructions.

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.