Open City Street Map (backend)
 
 
 
 
 
 
Go to file
Frederic Daniel Luc Lehobey 8951eda9f6 Fix the name of ocitysmap configuration file.
Signed-off-by: Frederic Daniel Luc Lehobey <Frederic@Lehobey.net>
2012-03-30 10:16:27 +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
ocitysmap Merge commit 'remotes/public/d2-ocitysmap2' 2010-10-11 15:34:12 -07:00
ocitysmap2 Set a solid white map background 2012-03-30 10:15:09 +02:00
stylesheet/black-and-white Allow smaller fonts for street names 2012-03-30 10:13:04 +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 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 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 Updated i18n 2010-09-11 15:44:22 +02:00
ocitysmap-render Improve the map_areas table name parametrization 2010-02-10 21:13:10 +01:00
ocitysmap.conf-template Update the OCitySMap config template for version 2 2010-08-06 10:09: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.