Changes between Version 203 and Version 204 of UserGuidelines/GIS/Data


Ignore:
Timestamp:
09/25/12 19:42:35 (12 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuidelines/GIS/Data

    v203 v204  
    368368=== Old Printed Maps ===
    369369Old Printed Maps can be 'Rectified' to be overlaid on the base maps:
    370  * [wiki:BluePrintGISRectifier]
     370* [wiki:BluePrintGISRectifier]
    371371== !OpenStreetMap ==
    372 === Base Map ===
    373 We have out-of-the-box the ability to use !OpenStreetMap Tiles as base layer.
    374 
    375 This can include local OSM sites (OSM Taiwan is included as an example)
    376 
    377 === Vector Overlays ===
    378 Can have OSM Vectors displayed over the top of other Base Layers (e.g. Satellite Images)
    379 
    380  * [wiki:BluePrintGISOSMLayers]
    381 
    382 === Import ===
    383 We have an XSLT [http://eden.sahanafoundation.org/browser/static/formats/osm/import.xsl stylesheet] to import .osm files
    384 
    385 e.g for hospitals and clinics:
    386 {{{
    387 osmosis --read-xml country.osm --tf accept-nodes amenity=hospital,clinic --tf reject-ways --tf reject-relations --write-xml nodes.osm
    388 osmosis --read-xml country.osm --tf reject-relations --tf accept-ways amenity=hospital,clinic --used-node --write-xml ways.osm
    389 osmosis --rx nodes.osm --rx ways.osm --merge --wx country_hospitals.osm
    390 http://myhost.com/eden/hms/hospital/create.osm?filename=country_hospitals.osm
    391 }}}
    392 
    393 This needs more work to understand the admin hierarchy properly to be able to import Places.
    394 * http://wiki.openstreetmap.org/wiki/Map_Features#Places
    395 * http://wiki.openstreetmap.org/wiki/Placename_hierachies is_in tag
    396 
    397 Geofabrik have updated extracts daily for Pakistan:
    398 * http://download.geofabrik.de/osm/asia/pakistan.osm.bz2
    399 
    400 Otherwise pull a BBOX directly using Osmosis:
    401 * http://wiki.openstreetmap.org/wiki/Osmosis
    402 
    403 Osmosis requires Java. Python options for filtering based on tag, which would be more suitable for integration within Sahana, however we need to add Polygon filtering using Shapely:
    404 * http://dev.omniscale.net/imposm.parser/
    405 * [http://pbf.raggedred.net ParsePBF]
    406  * http://blog.lifeeth.in/2011/02/extract-pois-from-osm-pbf.html
    407 
    408 Ruby script to generate KML of recently-added locations by a group of users:
    409 * http://github.com/vertis/osm_export/tree/master
    410 
    411 Polygons:
    412 * http://help.openstreetmap.org/questions/8273/how-do-i-extract-the-polygon-of-an-administrative-boundary
    413 === Basemap for Garmin GPS ===
    414  * [wiki:UserGuidelinesGISDataOpenStreetMapGarmin]
     372* [wiki:GIS/OpenStreetMap]
    415373
    416374== PostgreSQL management ==
    417  * [wiki:InstallationGuidelinesPostgreSQL#Maintenance]
     375* [wiki:InstallationGuidelinesPostgreSQL#Maintenance]
    418376=== PostGIS functions ===
    419  * Centroids
     377* Centroids
    420378{{{
    421379SELECT name, iso2, asText(ST_Transform(ST_Centroid(the_geom), 4326)) AS centroid FROM countries;
     
    423381
    424382== Data Sources ==
    425  * Admin 0 & 1, Hydro features, Raster & Vector: http://www.naturalearthdata.com/
     383* Admin 0 & 1, Hydro features, Raster & Vector: http://www.naturalearthdata.com/
    426384=== L0 ===
    427  * http://www.gadm.org
    428  * http://nils.weidmann.ws/projects/cshapes <- varying over time
    429  * http://www.naturalearthdata.com/
    430  * VMap0: http://en.wikipedia.org/wiki/Vector_Map
    431  * http://barendgehrels.blogspot.com/2010/12/free-shapefile-of-countries-of-world.html
    432  * http://barendgehrels.blogspot.com/2010/12/free-shapefiles-of-of-world-2.html
    433  * http://barendgehrels.blogspot.com/2010/12/free-shapefiles-of-of-world-3.html
    434  * http://barendgehrels.blogspot.com/2011/01/free-shapefiles-of-countries-of-world-4.html
    435  * http://thematicmapping.org/downloads/world_borders.php
    436  * UN (North Africa): http://unosat-sdn.web.cern.ch/unosat-sdn/northafrica/region/ungiwg_level0_region.zip
     385* http://www.gadm.org
     386* http://nils.weidmann.ws/projects/cshapes <- varying over time
     387* http://www.naturalearthdata.com/
     388* VMap0: http://en.wikipedia.org/wiki/Vector_Map
     389* http://barendgehrels.blogspot.com/2010/12/free-shapefile-of-countries-of-world.html
     390* http://barendgehrels.blogspot.com/2010/12/free-shapefiles-of-of-world-2.html
     391* http://barendgehrels.blogspot.com/2010/12/free-shapefiles-of-of-world-3.html
     392* http://barendgehrels.blogspot.com/2011/01/free-shapefiles-of-countries-of-world-4.html
     393* http://thematicmapping.org/downloads/world_borders.php
     394* UN (North Africa): http://unosat-sdn.web.cern.ch/unosat-sdn/northafrica/region/ungiwg_level0_region.zip
    437395=== L1 ===
    438  * http://www.gadm.org
    439  * http://www.naturalearthdata.com/
    440  * http://geonames.org
    441  * US: http://www.mapcruzin.com/free-united-states-arcgis-maps-shapefiles.htm
     396* http://www.gadm.org
     397* http://www.naturalearthdata.com/
     398* http://geonames.org
     399* US: http://www.mapcruzin.com/free-united-states-arcgis-maps-shapefiles.htm
    442400=== L2 ===
    443  * SALB (High-quality, country-verified, but not all countries): http://www.unsalb.org/
    444  * http://www.gadm.org
    445  * http://geonames.org
    446  * California: http://swdb.igs.berkeley.edu/pub/data/GEOGRAPHY/DECENNIAL2010/state_county_2010_shp.zip
     401* SALB (High-quality, country-verified, but not all countries): http://www.unsalb.org/
     402* http://www.gadm.org
     403* http://geonames.org
     404* California: http://swdb.igs.berkeley.edu/pub/data/GEOGRAPHY/DECENNIAL2010/state_county_2010_shp.zip
    447405
    448406=== OGC (WMS/WFS) ===
    449  * http://geonetwork-opensource.org/gallery.html#geonetwork-nodes
    450  * http://www.ogc-services.net
    451  * !BlueMarble & Mosaic (!LandSat7): http://onearth.jpl.nasa.gov/
    452  * Hazard Layers: http://preview.grid.unep.ch:8080/geoserver/ows?service=WMS&request=GetCapabilities
    453  * Hazard Layers: http://www.pdc.org/mde/services.jsp
    454  * Massachusetts: http://lyceum.massgis.state.ma.us/wiki/doku.php
     407* http://geonetwork-opensource.org/gallery.html#geonetwork-nodes
     408* http://www.ogc-services.net
     409* !BlueMarble & Mosaic (!LandSat7): http://onearth.jpl.nasa.gov/
     410* Hazard Layers: http://preview.grid.unep.ch:8080/geoserver/ows?service=WMS&request=GetCapabilities
     411* Hazard Layers: http://www.pdc.org/mde/services.jsp
     412* Massachusetts: http://lyceum.massgis.state.ma.us/wiki/doku.php
    455413
    456414=== Aerial Imagery ===
    457 http://wiki.openstreetmap.org/wiki/Aerial_imagery
     415* http://wiki.openstreetmap.org/wiki/Aerial_imagery
    458416
    459417----