|
META TOPICPARENT |
name="WebHome" |
Create custom OpenFietsMap
|
|
> > |
- Create a directory DEM: mkdir DEM
- Go to https://geo.javawa.nl/srtm/index.php, select the region you are using and download each file listed on the right (use the lowest resolution available)
- Extract and move the contents of all height maps to the DEM directory
- Edit mkgmap.args and replace map_with_dem_files with DEM
|
|
- Create bounding box using: https://boundingbox.klokantech.com/
- Draw polygon around desired area. Select KML in the lower left corner and click the copy to clipboard icon
- Paste the KML data into a new file (it is not actually in KML format). Edit the ploygon file to list coordinates 1 per line, start each line with 2 spaces, replace comma (,) with 2 spaces
- Add header:
- Add footer:
- Save the file as beneluxswgermany.poly (See beneluxswgermany.poly)
- Download .osm.bpf file from http://download.geofabrik.de/europe.html
- Split Europe files in pieces and limit to polygon:
- java -Xms4096m -Xmx4096m -jar <path/to/splitter.jar> --output=pbf --output-dir=splitter --max-nodes=1400000 --mapid=10010001 --geonames-file=cities15000.txt --polygon-file=beneluxswgermany.poly europe-latest.osm.pbf
- Create image file for installing on Garmin:
- java -Xms4096m -Xmx4096m -jar <path/to/mkgmap.jar> --gmapsupp -c mkgmap.args -c splitter/template.args 20011.txt
See also
-- Ivo van Geel - 20 Jul 2022 |
|
< < |
META FILEATTACHMENT |
attachment="beneluxswgermany.poly" attr="h" comment="beneluxswgermany.poly" date="1658311357" name="beneluxswgermany.poly" path="beneluxswgermany.poly" size="463" user="ivo" version="1" |
|
|
META FILEATTACHMENT |
attachment="splitter-r653.zip" attr="h" comment="" date="1697910873" name="splitter-r653.zip" path="splitter-r653.zip" size="1580423" user="ivo" version="1" |
META FILEATTACHMENT |
attachment="mkgmap-r4916.zip" attr="h" comment="" date="1697910873" name="mkgmap-r4916.zip" path="mkgmap-r4916.zip" size="3530353" user="ivo" version="1" |
|
|
> > |
META FILEATTACHMENT |
attachment="beneluxswgermany.poly" attr="h" comment="" date="1697999717" name="beneluxswgermany.poly" path="beneluxswgermany.poly" size="177" user="ivo" version="1" |
|