Linux script to extract and compile garmin *.img map files from or downloads
Switch branches/tags
Nothing to show
Clone or download
Bernhard Tittelbach
Bernhard Tittelbach support for lower memory devices
Latest commit 6d00e27 Apr 26, 2017


Linux/Unix script to compile garmin *.img map files from or files


  • zsh
  • 7z
  • mkgmap OR wine

you can obtain mkgmap with your package manager or from

gmt linux version can be downloaded from

Installation of required files on Debian/Ubuntu

  sudo apt-get install zsh p7zip-full
  unzip gmt
  sudo mv gmt /usr/local/bin/

also, get newest mkgmap from and install (aka copy) it to e.g. /usr/local/share/mkgmap/

Installation of required files on Gentoo

  emerge zsh p7zip mkgmap
  unzip gmt
  sudo mv gmt /usr/local/bin/

Installation of required files on openSUSE

  Alternativly use the following commands on the command line
  zypper ar GEO
  zypper ref
  zypper in p7zip mkgmap GMT


  Usage: [options] <mtb*.exe|velo*.exe> <TYP-file or TYP-style>
     as TYP-style you can choose:
     For OpenMTB-maps:
       clas: Classic layout - optimized for Vista/Legend series.
       thin: Thinner tracks and pathes - optimized for Gpsmap60/76 series.
       wide: High contrast layout, like classic but with white forest - optimized for Oregon/Colorado displays.
       hike: Like classic layout - but optimized for hiking (does not show mtb/bicycle informations).
       easy: Similar to classic layout - focused on easy readability, not showing mtb/bicycle information except routes.
     For OpenVelo-maps:
       velo: Layout optimized for small GPS screen
       velw: Wide layout optimized for high DPI screens like Oregon
       race: Clean layout for road biking. No buildings or features.
     or give the path to your own .TYP style file
     -g <path/to/gmt>
     -m <path/to/mkgmap.jar>
     -o <path/to/outputdir>