Skip to content

Latest commit

 

History

History
60 lines (46 loc) · 2.44 KB

README.mediawiki

File metadata and controls

60 lines (46 loc) · 2.44 KB

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

Requirements

  • zsh
  • 7z
  • mkgmap OR wine

you can obtain mkgmap with your package manager or from http://www.mkgmap.org.uk/snapshots/

gmt linux version can be downloaded from http://www.gmaptool.eu/en/content/gmaptool

Installation of required files on Debian/Ubuntu

  sudo apt-get install zsh p7zip-full
  wget http://www.gmaptool.eu/sites/default/files/lgmt08220.zip
  unzip lgmt08220.zip gmt
  sudo mv gmt /usr/local/bin/

also, get newest mkgmap from http://www.mkgmap.org.uk/snapshots/ and install (aka copy) it to e.g. /usr/local/share/mkgmap/

Installation of required files on Gentoo

  emerge zsh p7zip mkgmap
  wget http://www.gmaptool.eu/sites/default/files/lgmt08220.zip
  unzip lgmt08220.zip gmt
  sudo mv gmt /usr/local/bin/

Installation of required files on openSUSE

  Alternativly use the following commands on the command line
  zypper ar http://download.opensuse.org/repositories/Application:/Geo/openSUSE_13.1/ GEO
  zypper ref
  zypper in p7zip mkgmap GMT

Usage

  Usage: create_omtb_garmin_img.sh [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
  Options:
     -g <path/to/gmt>
     -m <path/to/mkgmap.jar>
     -o <path/to/outputdir>