You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

2.1 KiB

Elevation Data

To add elevation data and contour lines to your maps, you'll need the below information.

Credits

The information here and integration(s) in the main process_maps.py script were adapted from:

Prep

Processing

  1. Download various elevation data needed using phyghtmap (http://katze.tfiu.de/projects/phyghtmap/phyghtmap.1.html)
  2. Download maps using download_maps.py
  3. Create a custom map list (see custom.list for an example) for use
  4. Run map processing with --no-map-download, --tag-mapping and --tag-transform

../../bin/osmosis/bin/osmosis --read-pbf ccentral-america-srtm3_lon-99.83_-44.94lat3.28_28.05_srtm3v3.0.osm.pbf
--tee 3
--bp file=../../cache/costa-rica.poly --write-pbf costa-rica-strm3.osm.pbf
--bp file=../../cache/panama.poly --write-pbf panama-strm3.osm.pbf
--bp file=../../cache/nicaragua.poly --write-pbf nicaragua-strm3.osm.pbf

../../bin/osmosis/bin/osmosis
--read-pbf costa-rica-strm1.osm.pbf
--read-pbf panama-strm1.osm.pbf
--read-pbf nicaragua-strm1.osm.pbf
--write-pbf nicaragua-costa-rica-panama-srtm1.osm.pbf

./bin/osmosis/bin/osmosis
--rb file=cache/ght/midwest-srtm1.osm.pbf
--tag-transform file=openandromaps/tag-transform.xml
--log-progress
--wb file=cache/ght/midwest-srtm1-tt.osm.pbf
omitmetadata=true

./bin/osmosis/bin/osmosis
--rb file=cache/ght/midwest-srtm1-tt.osm.pbf
--log-progress
--mapfile-writer file=cache/ght/midwest-srtm1.map
type=ram threads=1 map-start-zoom=8
tag-conf-file=openandromaps/tag-mapping.min.xml

Australia bounding box : bbox=-46.056650000000005,109.8694,-8.837109,169.1016