Open City Street Map (backend)
 
 
 
 
 
 
Go to file
Étienne Loks 7da6b70ab2 multi-page overview: correct page number position 2012-03-30 23:56:00 +02:00
images
locale Update ocitysmap POT and fr PO file for new 'Villages' string 2011-12-31 19:22:51 +01:00
ocitysmap Merge commit 'remotes/public/d2-ocitysmap2' 2010-10-11 15:34:12 -07:00
ocitysmap2 multi-page overview: correct page number position 2012-03-30 23:56:00 +02:00
stylesheet/black-and-white b&w stylesheet: Allow smaller fonts for street names 2012-03-30 18:22:18 +02:00
support ocitysmap/support: add support for storing the age of the OSM data 2012-03-25 18:19:16 +02:00
.gitignore Remove some details. Put all roads in white 2012-03-30 10:12:41 +02:00
AUTHORS
COPYING
I18N
INSTALL Fix the name of ocitysmap configuration file. 2012-03-30 10:16:27 +02:00
README Renamed --polygon-osmid cmdline option as --osmid 2010-10-11 10:13:14 +02:00
i18n.py
ocitysmap-render
ocitysmap.conf-template
ocitysmap2-render Misc code style fixes 2012-02-18 17:21:52 -08:00
ocitysmap2.conf-template config: make it possible to configure the port to connect to the GIS database 2012-03-25 11:28:28 +02:00
setup.py Updated setup.py 2010-09-11 16:59:42 +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:

 ./ocitysmap2-render -t "Ceci n'est pas Paris" --osmid=-943886

Alternatively you may specify a bounding box rather than an OSM ID:

 ./ocitysmap2-render -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:

  ./ocitysmap2-render --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.