Open City Street Map (backend)
 
 
 
 
 
 
Go to file
Hartmut Holzgraefe 7499b75169 expand map by 1 arc second if too small 2023-12-11 00:30:24 +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 expand map by 1 arc second if too small 2023-12-11 00:30:24 +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 support more than one font 2023-11-23 15:21:06 +00:00
.gitignore
.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
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.