Changes between Version 46 and Version 47 of GIS/InstallationGuidelines/Linux


Ignore:
Timestamp:
11/12/10 16:26:20 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIS/InstallationGuidelines/Linux

    v46 v47  
    218218}}}
    219219
     220Download the OpenStreetMap extensions for Mapnik:
     221{{{
     222cd
     223svn export http://svn.openstreetmap.org/applications/rendering/mapnik
     224}}}
     225
    220226Download/decompress Coastlines:
    221227{{{
    222228cd
    223 mkdir mapnik
    224 cd mapnik
    225229wget http://tile.openstreetmap.org/world_boundaries-spherical.tgz
    226230wget http://tile.openstreetmap.org/processed_p.tar.bz2
     
    228232wget http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/10m-populated-places.zip
    229233wget 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
     234cd ~/mapnik
     235tar zxvf ~/world_boundaries-spherical.tgz
     236tar jxvf ~/processed_p.tar.bz2 -C world_boundaries
     237tar jxvf ~/shoreline_300.tar.bz2 -C world_boundaries
     238unzip ~/10m-populated-places.zip -d world_boundaries
     239unzip ~/110m-admin-0-boundary-lines.zip -d world_boundaries
    235240}}}
    236241
     
    254259autovacuum = on
    255260/etc/init.d/postgresql restart
     261}}}
     262
     263Setup XML file:
     264{{{
     265cd ~/mapnik
     266./generate_xml.py --host localhost --user gis --dbname gis --symbols ./symbols/ --world_boundaries ./world_boundaries/ --port 5432 --password mypasswordforgis
     267}}}
     268
     269Render tiles:
     270{{{
     271cd ~/mapnik
     272MAPNIK_MAP_FILE="osm.xml" MAPNIK_TILE_DIR="tiles/" ./generate_tiles.py
    256273}}}
    257274=== Contours ===