[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH 2/2] Updated instructions for recent mapnik-osm
From: |
David Decotigny |
Subject: |
[Maposmatic-dev] [PATCH 2/2] Updated instructions for recent mapnik-osm versions. |
Date: |
Sat, 19 Dec 2009 19:21:18 +0100 |
Recent versions of mapnik-osm provide a generate_xml.py script to
replace the set-mapnik-env.
---
INSTALL | 30 +++++++++++++-----------------
1 files changed, 13 insertions(+), 17 deletions(-)
diff --git a/INSTALL b/INSTALL
index fcdd640..85d5875 100644
--- a/INSTALL
+++ b/INSTALL
@@ -174,23 +174,7 @@ distributions, minor adaptations might be needed.
svn checkout http://svn.openstreetmap.org/applications/rendering/mapnik
mapnik-osm
- b. Configuration
-
- Adapt set-mapnik-env, and in particular the MAPNIK_MAP_FILE,
- MAPNIK_SYMBOLS_DIR, MAPNIK_WORLD_BOUNDARIES, MAPNIK_TILE_DIR,
- MAPNIK_DBHOST, MAPNIK_DBNAME, MAPNIK_DBUSER and MAPNIK_DBPASS
- variables.
-
- Then, run :
-
- . ./set-mapnik-env
- ./customize-mapnik-map > $MAPNIK_MAP_FILE
-
- $MAPNIK_MAP_FILE is the file that will tell Mapnik how to do the
- rendering (for each zoom level, how to render roads, streets,
- parkings, etc.)
-
- c. Installation of static data
+ b. Installation of static data
In addition to the OpenStreetMap data, some other static data are
used to render the maps (world boundaries, etc.)
@@ -205,6 +189,18 @@ distributions, minor adaptations might be needed.
wget http://tile.openstreetmap.org/shoreline_300.tar.bz2
tar xjf ~/download/shoreline_300.tar.bz2 -C
/path/to/mapnik-osm/world_boundaries
+ b. Configuration
+
+
+ python ./generate_xml.py --dbname maposmatic --host 'localhost' \
+ --user maposmatic --port 5432 \
+ --password 'waeleephoo3Aew3u' \
+
--world_boundaries=/path/to/mapnik-osm/world_boundaries \
+ osm.xml osm-maposmatic.xml
+
+ The osm-maposmatic.xml file is the one you will have to use in
+ ocitysmap (step 8d below).
+
8. Installation of OCitySMap
a. Grab the sources
--
1.6.3.3