Difference between revisions of "Garmin maps"

From Navit's Wiki
Jump to: navigation, search
m
m (Prerequisites)
Line 12: Line 12:
  
 
  svn co http://libgarmin.svn.sourceforge.net/svnroot/libgarmin/libgarmin/dev libgarmin
 
  svn co http://libgarmin.svn.sourceforge.net/svnroot/libgarmin/libgarmin/dev libgarmin
  build with
+
  ce libgarmin
 
  ./configure
 
  ./configure
 
  make
 
  make

Revision as of 14:57, 17 October 2007

There is an experimental driver for Garmin IMG maps.

It's located here : http://libgarmin.sourceforge.net/ You will need the 'subversion' (svn) tool to install this driver.


Please give us feedback / bug report about this driver!

Prerequisites

First, get libgarmin from svn, and install it, as usual :

svn co http://libgarmin.svn.sourceforge.net/svnroot/libgarmin/libgarmin/dev libgarmin
ce libgarmin
./configure
make

And, as root :

make install

How to build the driver

Go into navit source directory :

cd navit

Get these Navit patches:

wget http://libgarmin.sf.net/navit-garmin-items.diff
wget http://libgarmin.sf.net/navit-configure.diff
wget http://libgarmin.sf.net/navit-data-makefile.diff

Apply with:

cat navit-garmin-items.diff | patch -p1
cat navit-configure.diff | patch -p1
cat navit-data-makefile.diff | patch -p1

Next :

cd src/data

And checkout navit's driver

svn co http://libgarmin.svn.sourceforge.net/svnroot/libgarmin/navitdrv/dev garmin

Next reconfigure and build navit.

cd ../..
./autogen.sh && ./configure && make

Configure your map source

Now add your first garmin map to navit.xml

       <mapset enabled="yes">
               <map type="garmin" enabled="yes" data="/path/to/gmapsupp.img"/>
       </mapset>