Australia/Queensland/The Department of Environment and Resource Management/Peaks And Mountains Import

From OpenStreetMap Wiki
Jump to: navigation, search

STATUS

Manual import of parcels of data underway - estimated completion in 2 or 3 weeks. Chas66 (talk) 06:31, 9 May 2014 (UTC)

This page documents a proposed data import: peaks and mountains in Queensland Australia from State Government Place names gazetteer Data Shapefile.

Source Dataset:

? State of Queensland (Department of Natural Resources and Mines) 2013. Updated data available at http://dds.information.qld.gov.au/dds/

Proposed Import Steps

source = 'Place names gazetteer - Queensland Dated: 2014-04-20'
source_ref = 'http://data.qld.gov.au'
attribution = 'State of Queensland (Department of Natural Resources and Mines) 2013. Updated data available at http://dds.information.qld.gov.au/dds/'

Manual Review Import Process

Elevation Data

Elevation could be added, by using the osmosis tool with the SRTM plugin at: https://code.google.com/p/osmosis-srtm-plugin

This plugin downloads the NASA 2.1 SRTM data for the nodes, and adds a tag with the height. The tag should be ele= , and the height in metres doesn't need to be a float, so cleanup will be required (rounding to nearest whole metre should be sufficient).

The ogr2osm tool doesn't create a valid 0.6 OSM file according to OSMOSIS, it needs a version and timestamp attribute on the node. Amending the input file was required by search/replace the following in the input OSM XML to get it to process in OSMOSIS:

   s/g/<node /<node version="1" timestamp="2014-05-04T06:37:45Z" /

command used to add the heights:

   ~/src/osmosis-latest/bin/osmosis --read-xml ./QldPeaks.osm  --write-srtm tagName=ele --write-xml test_with_srtm.osm

A data file containing the output of that command; with the elevation tag and value added, is here: https://dl.dropboxusercontent.com/u/446994/osmQldPeaks/test_with_srtm.osm

UPDATE: whilst adding height from SRTM is possible, discussion on the mailing list has leaned toward not adding the elevation/height from the SRTM. This elevation tag would not be imported

Sample tags of imported Node

 <node id="-634" version="1" timestamp="2014-05-04T06:37:45Z" lat="-18.35" lon="144.0166667">
   <tag k="name" v="Beril Peak"/>
   <tag k="natural" v="peak"/>
   <tag k="alt_name" v="Blackman Peak"/>
 </node>

Manually add these tags to the changeset at upload time:

source = 'Place names gazetteer - Queensland Dated: 2014-04-20'
source_ref = 'http://data.qld.gov.au'
attribution = 'State of Queensland (Department of Natural Resources and Mines) 2013. Updated data available at http://dds.information.qld.gov.au/dds/'

Sanity check of imported data

Adding the GA WMS service as an image layer of their NATMAPS 1:250000 raster maps and browsing the mountains on the WMS image layer to JOSM with the OSM file loaded allows coarse check of alignment (the GA maps are built from the same data). This check ensures nothing untoward has skewed the data points position.

WMS server end point: http://www.ga.gov.au/gisimg/services/topography/NATMAP_Digital_Maps_250K_2008Edition/ImageServer/WMSServer?request=GetCapabilities&service=WMS


refs