OpenStreetMap logo OpenStreetMap

Due to changes around splitter and mkgmap here my update for easier building gmapsupp.img for the (now) older Garmin etrex:

You need the latest Splitter from “http://www.mkgmap.org.uk/download/splitter.html” Get the latest Snapshot of mkgmap from “http://www.mkgmap.org.uk/download/mkgmap.html” If you like, choose a *.typ file of your choise. I used Computerteddy’s “teddy.typ” “http://openstreetmap.teddynetz.de:81/latest/new/teddy.typ”

This is my bash to generate a route-able Map for Poland & Germany on a Garmin etrex: (You can add more *.pbf to cover more countries/regions)

#!bin/bash
wget -t0 -c http://download.geofabrik.de/osm/europe/poland.osm.pbf
cp poland.osm.pbf working/
wget -t0 -c http://download.geofabrik.de/osm/europe/germany.osm.pbf
cp germany.osm.pbf working/

cd working/
java -enableassertions -Xmx3096M -jar ../splitter.jar --description="OSM Map 2013-01-20" --max-nodes=240000 --output=xml --keep-complete=false germany.osm.pbf poland.osm.pbf

java -enableassertions -Xmx4096M -jar ../mkgmap.jar --max-jobs --name-tag-list="name,name:de,name:en,int_name" --generate-sea:multipolygon --family-id=1331 --product-id=1   --net --tdbfile --route --reduce-point-density=10 --add-pois-to-areas --road-name-pois=0x640a --draw-priority=25 --latin1 --make-opposite-cycleways --remove-short-arcs --verbose  --mapname="MyMap20130120" --gmapsupp -c template.args teddy.typ

cd ..
## End
Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Discussion

Log in to leave a comment