Changes between Version 53 and Version 54 of GIS/InstallationGuidelines/Linux


Ignore:
Timestamp:
11/13/10 21:24:15 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIS/InstallationGuidelines/Linux

    v53 v54  
    285285}}}
    286286
     287Since we are non-commercial, we can se the SRTM4.1 data from [http://srtm.csi.cgiar.org CGIAR]
    287288Example for Haiti:
    288289{{{
    289 wget
    290 }}}
    291 
    292 Run this script:
     290cd ~/mapnik/srtm
     291wget http://srtm.csi.cgiar.org/SRT-ZIP/SRTM_V41/SRTM_Data_GeoTiff/srtm_22_09.zip
     292unzip srtm_22_09.zip
     293gdal_contour -i 10 -snodata 32767 -a height "srtm_22_09.tif" "srtm_22_09.shp"
     294shp2pgsql -p -I -g way "srtm_22_09" contours | psql -q gis
     295shp2pgsql -a -g way "srtm_22_09" contours | psql -q gis
     296}}}
     297
     298If using SRTM3, run this script:
    293299{{{
    294300#!/bin/bash