Difference between revisions of "Garmin maps"

From Navit's Wiki
Jump to: navigation, search
 
m
Line 7: Line 7:
 
Please give us feedback / bug report about this driver!
 
Please give us feedback / bug report about this driver!
  
How to build the driver:
+
=Prerequisites=
 +
 
 +
First, get libgarmin from svn, and install it, as usual :
 +
 
 +
svn co http://libgarmin.svn.sourceforge.net/svnroot/libgarmin/libgarmin/dev libgarmin
 +
build with
 +
./configure
 +
make
 +
 
 +
And, as root :
 +
make install
 +
 
 +
=How to build the driver=
  
 
Go into navit source directory :
 
Go into navit source directory :
Line 38: Line 50:
 
  ./autogen.sh && ./configure && make
 
  ./autogen.sh && ./configure && make
  
 +
=Configure your map source=
 
Now add your first garmin map to navit.xml
 
Now add your first garmin map to navit.xml
  

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
build with
./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>