This git is what I use to make maps for my Garmin devices.
To make your own maps you need to:
- Make sure your Linux installation has all the required dependencies. (See below.)
- Clone this git.
- Download the latest version of mkgmap and splitter from the mkgmap homepage.
- Run make.sh to download some other stuff needed and create some folders.
- Download the osm.pbf file you want to make a map from on the Geofabric website.
When all this is done you can make the maps.
- Run "split-map" to use the splitter to make smaller files from your main file.
- Run "make-map" to make the map from the files above.
When this is done you have a file "gmapsupp.img" in the output-map folder that you can copy into your Garmin device.
You need to have a version of java >= 1.8 on computer. And unzip.
There are not many options you can change from the command line. The only place changes are allowed is when running "split-map" so you can choose
- what .pbf file you want to work on if you have several. (By default the largest file is chosen.)
- specify a polygon file if you only want to make a map from a subset of the .pbf file.
PBF=norway.osm.pbf POLY=no-se.poly ./split-map