Mkgmap howto
See https://openmtbmap.org/about-2/archive/render-maps-mkgmap/
Software requirements
You will need java !
Uses the Required tools & OpenTopoMap repository script/commands to get the latest mkgmap, splitter and bounds files.
Git checkout https://github.com/der-stefan/OpenTopoMap/, it will be used for the styles.
Map datas
Go to http://download.geofabrik.de/ and download the part you want, in .osm.bz2
format.
Splitting the map
java -Xmx1000m -ea -jar ..\splitter-r602\splitter.jar --max-nodes=600000 --overlap=4000 --max-areas=255 --description="zone-bonnieres" --mapid="12340000" --max-nodes="600000" --no-trim --overlap="4000" --status-freq="600" zone-bonnieres.osm
Compile the map
java -ea -Xmx1000M -jar ..\mkgmap-r4767\mkgmap.jar --style-file=G:\garmin\opentopomap-garmin\style\opentopomap --max-jobs --generate-sea=polygons,extend-sea-sectors,close-gaps=6000 --reduce-point-density=5.4 --x-reduce-point-density-polygon=5.4 --index --transparent --adjust-turn-headings --ignore-maxspeeds --ignore-turn-restrictions --remove-short-arcs=4 --description=zone_bonnieres --location-autofill=1 --route --country-abbr=fr --country-name=france --mapname=12340000 --family-id=1234 --product-id=1 --series-name="bonnieres_fr_%date%" --family-name="bonnieres_fr_%date%" --overview-mapname=mapset --area-name="Bonnieres_%date%_custom" -c template.args --gmapsupp
Zone bonnieres:
osmosis --read-xml enableDateParsing=no file=france-latest.osm --bounding-box top=49.06751 left=24.649 bottom=55.468 right=48.925 --write-xml file=zone-bonnieres.osm
https://www.openstreetmap.org/export#map=11/49.0509/1.5992 coords gps