bong0 / openmtbmap_openvelomap_linux

Linux script to extract and compile garmin *.img map files from openmtbmap.org or openvelomap.org downloads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Requirements

  • zsh
  • 7z
  • mkgmap OR wine
  • gmt linux version 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 7z
  wget http://www.gmaptool.eu/en/system/files/lgmt08067.zip
  unzip lgmt07158.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/en/system/files/lgmt08067.zip
  unzip lgmt07158.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 <mtb*.exe|velo*.exe> <TYP-file or TYP-type> [path/to/mkgmap.jar]
       as TYP-type you can choose:
       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 dull displays
       hike: like classic layout - but optimized for hiking (does not show mtb/bicycle informations)
       easy: similar to classic layout - but focussed on easy readability hence not showing mtb/bicycle information except routes
       velo: (comes with velomap files) Layout optimized for small GPS screen
       or give the path to your own .TYP style file

About

Linux script to extract and compile garmin *.img map files from openmtbmap.org or openvelomap.org downloads


Languages

Language:Shell 100.0%