Open City Street Map (backend)
 
 
 
 
 
 
Go to file
Hartmut Holzgraefe 2c1824596f extend map in oid mode by 1% padding on each side 2244-10-12 01:35:10 -22:59
.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 additional SVGs for 2nd logo and for POI markers 2016-03-27 09:24:33 +00:00
locale translation formatting updates 2018-10-18 00:06:49 +02:00
ocitysmap extend map in oid mode by 1% padding on each side 2244-10-12 01:35:10 -22:59
scripts Seperate git commits into own perl script 2013-06-20 13:50:34 +02:00
stylesheet embedded toner style no longer needed as we can use the GeoFabrik port 2019-03-24 08:19:44 +00:00
support Changes for PostgreSQL 9.x/PostGIS 2.x with hstore 2014-11-11 14:42:58 -08:00
templates added dummy file to make sure directory for submodule exists 2018-10-06 10:27:32 +02:00
.gitignore ignore temporary helper files 2018-02-18 10:59:12 +00:00
.gitmodules make poi_markers fully work with uploads via API, and fix scaling 2018-09-09 21:27:13 +00: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 first steps towards supporting both python 2 and 3 2017-09-05 22:56:46 +00:00
ocitysmap.conf.dist finally made the compass rose an optional overlay feature 2018-04-08 09:44:18 +00:00
render.py extend map in oid mode by 1% padding on each side 2244-10-12 01:35:10 -22:59
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.