Map making procedure
This map was made with the help of mkgmap software. This software converts OpenStreetMap data into Garmin .img file format so that it can be loaded onto compatible GPS units.
The Openfietsmap style and typ files are available for non-commercial purposes and are licensed under cc-by-nc-sa
*) For Windows 64 bits: choose the binary with large files support!
Custom files (the latest source code can be found on Github)
mkgmap.args (mkgmap options)
areas_bnl.list (split file for osm tiles)
TYP file: 20011.txt (typ file for light & full versions are identical)
openfietsmap.nsi (nsis installer script for windows)
latest administrative boundaries for the address search index
latest sea polygons for the sea generation
1) Download the latest europe.osm.pbf extract (or for example the netherlands.osm.pbf if you are only interested in one country) and (optional) add contours (see below)
2) Split the file with the mkgmap splitter with the following java command:
java -Xmx1024m -jar c:\directory\splitter-r(latest)\splitter.jar --output=pbf --output-dir=splitter --max-nodes=1400000 --mapid=10010001 --geonames-file=cities15000.txt --polygon-file=benelux.poly europe-latest.osm.pbf
3) Compile the splitter output (osm.pbf files with a template.args file) with mkgmap into garmin img's:
4) Run the mapsource installer: "c:\Program Files\NSIS\makensis.exe" openfietsmap.nsi
Conversion to gmap / Mac OSX format
Add "gmapi" as line in the mkgmap.args file to compile the Mac OSX format "gmap" files.
Adding Contour lines & hill shading (DEM)
Contour lines can be created with Phyghtmap
For my maps I get already prepared contour data from Freizeitkarte-osm.de
In order to combine the contours with the geofabrik extract, you need to convert the contour data to o5m format with osmconvert
osmconvert Hoehendaten_Freizeitkarte_EUROPE.osm.pbf -o=contours_europe.o5m
Then combine them with europe.osm.pbf, also with osmconvert:
osmconvert --drop-version contours_europe.o5m europe.osm.pbf -o=europe.o5
Adding Hill shading (DEM elevation)
In 2018 mkgmap added the posiblity to include DEM data into the map.
Add these parameters into the mkgmap args file:
dem=(path where the DEM hgt files are stored)
dem-poly=(optional .poly file)
Dem .hgt files can be stored in a zipped archive and downloaded from sites as
For Linux users, Pjotr Prins wrote this tutorial