logo separator

Making maps from OpenStreetMap for Garmin devices

The mkgmap program takes OpenStreetMap data and generates a map in the Garmin .img file format so that it can be loaded onto compatible GPS units.

If you are not already familiar with Open Street Map (OSM) then you why not head over to the OSM website and maybe get involved. The idea is create a map of the whole world.


  • Generates a map directly from a file saved from JOSM or from an extract of the main OSM planet file.
  • Converts several .osm files in one run of the program to create a map tile set.
  • Creates a .tdb file and an overview map that can be used to view the maps in MapSource or QLandkarte.
  • Creates a gmapsupp.img file that can be copied directly to an SD card.
  • Can also combine previously produced .img files into one gmapsupp.img file.
  • Create a .tdb and overview map from previously produced .img files.
  • The mapping between OSM features features in the Garmin map can be customised.
  • Transliteration of characters to ascii where that is possible to enable viewing on low end devices or for international maps.
  • Character set can be specified for display on capable GPS devices.
  • Control over the zoom levels that any feature appears at.

The program does not send the created maps to the GPS unit. This can be done with another program such as sendmap or qlandkarte gt. If your GPS device has a removable SD card, then you can just create a gmapsupp.img file and copy it to the cards in the Garmin directory.

Latest commits

  • mkgmap-r4388 fix unlikely but possible error in LinkDestinationHook: Don't use HashSet() to collect Coord instances, use Collections.newSetFromMap(new IdentityHashMap<Coord, Boolean>()) to avoid ....
    11 dec 2019
  • mkgmap-r4387 fix unlikely but possible error in LinkDestinationHook: A way is only connected if the nodes are identical, so don't use ....
    11 dec 2019
  • mkgmap-r4386 Implement undocumented option --x-keep-blanks.
    08 dec 2019
  • mkgmap-r4385 Fix problem with --drive-on:.
    08 dec 2019
  • mkgmap-r4384 code cleanup using hints from sonarlint, no change in output expected.
    03 dec 2019
See more...