| 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] |
| 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 |
| 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 |