2009-08-23 21:54:15 +00:00
|
|
|
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.
|
|
|
|
|
|
2010-09-11 13:38:25 +00:00
|
|
|
For example, for a simple Chevreuse rendering, run:
|
2009-08-25 09:12:55 +00:00
|
|
|
|
2012-05-10 07:10:50 +00:00
|
|
|
./render.py -t "Ceci n'est pas Paris" --osmid=-943886
|
2009-08-25 14:26:24 +00:00
|
|
|
|
2010-09-11 13:38:25 +00:00
|
|
|
Alternatively you may specify a bounding box rather than an OSM ID:
|
2009-12-21 10:01:08 +00:00
|
|
|
|
2012-05-10 07:10:50 +00:00
|
|
|
./render.py -t "Ceci n'est pas Paris" -b 48.7268,1.9946 48.6801,2.0742
|
2009-12-21 10:01:08 +00:00
|
|
|
|
2010-09-11 13:38:25 +00:00
|
|
|
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/
|
2009-08-26 13:30:06 +00:00
|
|
|
|
2010-09-11 13:38:25 +00:00
|
|
|
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:
|
2009-08-26 13:30:06 +00:00
|
|
|
|
2012-05-10 07:10:50 +00:00
|
|
|
./render.py --help
|
2009-08-28 16:10:14 +00:00
|
|
|
|
2009-09-05 10:15:06 +00:00
|
|
|
See INSTALL for installation instructions.
|
2009-08-25 14:26:24 +00:00
|
|
|
|
2009-08-31 17:54:12 +00:00
|
|
|
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.
|