Open City Street Map (backend)
 
 
 
 
 
 
Go to file
Maxime Petazzoni 3c4f3028ff Changes for PostgreSQL 9.x/PostGIS 2.x with hstore
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
2014-11-11 14:42:58 -08:00
.tx Transifex language layout configuration 2012-12-19 08:39:06 +01:00
ci-scripts@4c472b586f Fix commit message 2013-06-20 14:21:32 +02:00
images Higher definition OSM logo 2010-08-07 19:10:04 +02:00
locale Translated locale/ on transifex.com 2014-09-16 02:32:26 +02:00
ocitysmap Clear the corners of duplicate labels 2013-11-17 12:08:58 +01:00
scripts Seperate git commits into own perl script 2013-06-20 13:50:34 +02:00
stylesheet Stamen Toner stylesheet: create style files, fix locality, hamlet and village names 2012-04-23 22:38:08 +02:00
support Changes for PostgreSQL 9.x/PostGIS 2.x with hstore 2014-11-11 14:42:58 -08:00
.gitignore Rename OCitySMap Python module from ocitysmap2 to ocitysmap 2012-05-08 19:53:37 +02:00
.gitmodules Added submodule reference for ci-scripts 2013-04-30 08:32:28 +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 Changes for PostgreSQL 9.x/PostGIS 2.x with hstore 2014-11-11 14:42:58 -08:00
README Remove stray 'ocitysmap2' stuff from documentation. 2012-05-10 08:55:06 -07:00
i18n.py Rename OCitySMap Python module from ocitysmap2 to ocitysmap 2012-05-08 19:53:37 +02:00
ocitysmap.conf.dist Rename OCitySMap Python module from ocitysmap2 to ocitysmap 2012-05-08 19:53:37 +02:00
render.py Rename OCitySMap Python module from ocitysmap2 to ocitysmap 2012-05-08 19:53:37 +02:00
setup.py Rename OCitySMap Python module from ocitysmap2 to ocitysmap 2012-05-08 19:53:37 +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:

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

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

 ./render.py -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:

  ./render.py --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.