Changes between Version 186 and Version 187 of UserGuidelines/GIS/Data


Ignore:
Timestamp:
11/01/11 11:42:42 (10 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuidelines/GIS/Data

    v186 v187  
    330330Note that some countries have boundaries which change frequently and so datasets can often be a little out of date.
    331331
    332 Import into PostGIS:
     332To import into PostGIS for serving as WMS:
    333333{{{
    334334apt-get -y install gdal-bin pgloader
     
    382382pgloader
    383383}}}
    384 !ToDo: Get this imported into Sahana's gis_location table for consistency across basemap & queries (naming & boundaries).
    385384
    386385This can then be served as 3 WMS layers using !GeoServer & !GeoWebCache. SLD files are attached:
     
    392391Example [http://eden.sahanafoundation.org/attachment/wiki/UserGuidelinesGISData/geowebcache.xml geowebcache.xml] for GADM attached which provides 3 layers:
    393392 * L0 Base
    394  * L0-L2 Base
    395  * L0-L2 Overlay
     393 * L0-L2 Base (merged)
     394 * L0-L2 Overlay (merged)
    396395{{{
    397396cp geowebcache.xml /var/gis/geoserver_data/gwc
    398397/etc/init.d/tomcat6 restart
    399398}}}
     399
     400To import into Sahana's gis_location table for consistency across basemap & queries (naming & boundaries):
     401{{{
     402apt-get install python-gdal
     403cd ~web2py
     404python web2py.py -S eden -M -R import_utf8.py
     405}}}
     406
    400407=== Population Density ===
    401408==== GPWv3 ====