Changes between Version 186 and Version 187 of UserGuidelines/GIS/Data
- Timestamp:
- 11/01/11 11:42:42 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuidelines/GIS/Data
v186 v187 330 330 Note that some countries have boundaries which change frequently and so datasets can often be a little out of date. 331 331 332 Import into PostGIS:332 To import into PostGIS for serving as WMS: 333 333 {{{ 334 334 apt-get -y install gdal-bin pgloader … … 382 382 pgloader 383 383 }}} 384 !ToDo: Get this imported into Sahana's gis_location table for consistency across basemap & queries (naming & boundaries).385 384 386 385 This can then be served as 3 WMS layers using !GeoServer & !GeoWebCache. SLD files are attached: … … 392 391 Example [http://eden.sahanafoundation.org/attachment/wiki/UserGuidelinesGISData/geowebcache.xml geowebcache.xml] for GADM attached which provides 3 layers: 393 392 * L0 Base 394 * L0-L2 Base 395 * L0-L2 Overlay 393 * L0-L2 Base (merged) 394 * L0-L2 Overlay (merged) 396 395 {{{ 397 396 cp geowebcache.xml /var/gis/geoserver_data/gwc 398 397 /etc/init.d/tomcat6 restart 399 398 }}} 399 400 To import into Sahana's gis_location table for consistency across basemap & queries (naming & boundaries): 401 {{{ 402 apt-get install python-gdal 403 cd ~web2py 404 python web2py.py -S eden -M -R import_utf8.py 405 }}} 406 400 407 === Population Density === 401 408 ==== GPWv3 ====