Open City Street Map (backend)
 
 
 
 
 
 
Go to file
Hartmut Holzgraefe 949a226180 work around ProjTransform crash with older Proj library
See also python-mapnik issue #273

https://github.com/mapnik/python-mapnik/issues/273
2024-03-30 13:58:39 +00: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 extra logo hack 2023-08-19 08:15:16 +00:00
locale Translated using Weblate (German) 2022-11-06 16:09:13 +01:00
ocitysmap work around ProjTransform crash with older Proj library 2024-03-30 13:58:39 +00:00
scripts Seperate git commits into own perl script 2013-06-20 13:50:34 +02:00
stylesheet copy in OSM Mapnik style icons to ease installation 2019-09-15 19:45:11 +00:00
submodules added gooofy/robinson from github for HTML to Cairo rendering 2022-10-29 08:30:25 +00:00
support Changes for PostgreSQL 9.x/PostGIS 2.x with hstore 2014-11-11 14:42:58 -08:00
templates do not draw icon and icon backdrop on "Circle" markers ( #111 ) 2024-03-23 14:39:30 +00:00
.gitignore TODO fixed 2020-10-31 15:14:20 +00:00
.gitmodules add OSM Icon subrepository 2023-11-23 09:35:40 +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.md add "utm" pip package dependency (Issue #49) 2022-04-13 08:44:23 +02:00
README small READE update 2019-12-15 17:55:55 +00:00
i18n.py check all python files for gettext strings, not just selected ones 2022-11-06 13:42:55 +00:00
ocitysmap.conf.dist paper size handling fixes 2019-12-05 00:19:59 +01:00
render.py remove a TODO no longer needed 2023-10-31 14:04:58 +00: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,
optionally including things like 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.