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.

To understand the basics, first read the description how to use mkgmap and the tutoria How to create free maps for your Garmin GPS unit

Terms of use

The Openfietsmap style and typ files are available for non-commercial purposes and are licensed under cc-by-nc-sa


Custom files (the latest source code can be found  on Github)


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  --poly-file=benelux.poly  europe.osm.pbf

3) Compile the splitter output (osm.pbf files with a template.args file) with mkgmap into garmin img's:
java -Xms1024m -Xmx1024m  -jar c:\directory\mkgmap-r(latest)\mkgmap.jar -c osm_bnl.args -c splitter\template.args 10010.txt

4) Run the mapsource installer: "c:\Program Files\NSIS\makensis.exe" openfietsmap.nsi

Conversion to gmap / Mac OSX format

The installed map is converted into the new Garmin gmap  / Mac OSX format with Javawa's Mapconverter
Use the client version to implement it in the workflow:

jmc_cli -src=source_folder -dest=destination_folder -bmap=10010000.img -gmap="Openfietsmap (BNL).gmap"

Adding Contour lines

Contour lines can be created with Phyghtmap
For my maps I get already prepared contour data from
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

    Other tutorials