Open City Street Map (backend)
 
 
 
 
 
 
Go to file
Hartmut Holzgraefe 1c4e28fcb6 add OSM Icon subrepository 2023-11-23 09:35:40 +00:00
.tx
ci-scripts@4c472b586f
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 add missing (c) name 2023-11-17 11:36:48 +00:00
scripts
stylesheet
submodules added gooofy/robinson from github for HTML to Cairo rendering 2022-10-29 08:30:25 +00:00
support
templates add OSM Icon subrepository 2023-11-23 09:35:40 +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
COPYING
I18N
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
render.py remove a TODO no longer needed 2023-10-31 14:04:58 +00:00
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,
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.