Changes between Version 46 and Version 47 of GIS/InstallationGuidelines/Linux
- Timestamp:
- 11/12/10 16:26:20 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIS/InstallationGuidelines/Linux
v46 v47 218 218 }}} 219 219 220 Download the OpenStreetMap extensions for Mapnik: 221 {{{ 222 cd 223 svn export http://svn.openstreetmap.org/applications/rendering/mapnik 224 }}} 225 220 226 Download/decompress Coastlines: 221 227 {{{ 222 228 cd 223 mkdir mapnik224 cd mapnik225 229 wget http://tile.openstreetmap.org/world_boundaries-spherical.tgz 226 230 wget http://tile.openstreetmap.org/processed_p.tar.bz2 … … 228 232 wget http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/10m-populated-places.zip 229 233 wget http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/110m-admin-0-boundary-lines.zip 230 tar zxvf world_boundaries-spherical.tgz 231 tar jxvf processed_p.tar.bz2 -C world_boundaries 232 tar jxvf shoreline_300.tar.bz2 -C world_boundaries 233 unzip 10m-populated-places.zip -d world_boundaries 234 unzip 110m-admin-0-boundary-lines.zip -d world_boundaries 234 cd ~/mapnik 235 tar zxvf ~/world_boundaries-spherical.tgz 236 tar jxvf ~/processed_p.tar.bz2 -C world_boundaries 237 tar jxvf ~/shoreline_300.tar.bz2 -C world_boundaries 238 unzip ~/10m-populated-places.zip -d world_boundaries 239 unzip ~/110m-admin-0-boundary-lines.zip -d world_boundaries 235 240 }}} 236 241 … … 254 259 autovacuum = on 255 260 /etc/init.d/postgresql restart 261 }}} 262 263 Setup XML file: 264 {{{ 265 cd ~/mapnik 266 ./generate_xml.py --host localhost --user gis --dbname gis --symbols ./symbols/ --world_boundaries ./world_boundaries/ --port 5432 --password mypasswordforgis 267 }}} 268 269 Render tiles: 270 {{{ 271 cd ~/mapnik 272 MAPNIK_MAP_FILE="osm.xml" MAPNIK_TILE_DIR="tiles/" ./generate_tiles.py 256 273 }}} 257 274 === Contours ===