Open City Street Map (backend)
 
 
 
 
 
 
Go to file
Thomas Petazzoni d3fdeffb21 multi-page: update copyright header
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-31 09:46:16 +02:00
images Higher definition OSM logo 2010-08-07 19:10:04 +02:00
locale Update ocitysmap POT and fr PO file for new 'Villages' string 2011-12-31 19:22:51 +01:00
ocitysmap2 multi-page: update copyright header 2012-03-31 09:46:16 +02:00
stylesheet/black-and-white b&w stylesheet: Allow smaller fonts for street names 2012-03-30 18:22:18 +02:00
support Add a short test-suite for OcitySMap 2012-03-31 08:56:26 +02:00
.gitignore Remove some details. Put all roads in white 2012-03-30 10:12:41 +02:00
AUTHORS Move author list to a separate file 2009-09-05 12:19:28 +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 Update INSTALL to put b&w stylesheet installation in appendix 2012-03-30 23:56:18 +02:00
README Renamed --polygon-osmid cmdline option as --osmid 2010-10-11 10:13:14 +02:00
i18n.py Updated i18n 2010-09-11 15:44:22 +02:00
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.