Open City Street Map (backend)
 
 
 
 
 
 
Go to file
Hartmut Holzgraefe 58215692f2 adjust projection names in embedded styles to use new PROJ lib semantics 2024-10-29 10:54:02 +00:00
.tx
ci-scripts@4c472b586f
images extra logo hack 2023-08-19 08:15:16 +00:00
locale
ocitysmap work around ProjTransform crash with older Proj library 2024-03-30 13:58:39 +00:00
scripts
stylesheet adjust projection names in embedded styles to use new PROJ lib semantics 2024-10-29 10:54:02 +00:00
submodules
support
templates do not draw icon and icon backdrop on "Circle" markers ( #111 ) 2024-03-23 14:39:30 +00:00
.gitignore
.gitmodules add OSM Icon subrepository 2023-11-23 09:35:40 +00:00
AUTHORS
COPYING
I18N
INSTALL.md
README
i18n.py
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.