Difference between revisions of "Garmin maps"

From Navit's Wiki
Jump to: navigation, search
m (How to build the driver)
Line 22: Line 22:
 
=How to build the driver=
 
=How to build the driver=
  
Go into navit source directory :
+
Be sure to update navit to latest cvs
  
cd navit
+
reconfigure and build 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 ../..
 
  cd ../..

Revision as of 07:34, 31 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.

You can search a map for your area there : http://garminmapsearch.com/

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
cd libgarmin
./configure
make

And, as root :

make install

How to build the driver

Be sure to update navit to latest cvs

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>

Install garmin types into your maps directory

Copy garmintypes.txt to /path/to/

cd src/data/garmin
cp garmintypes.txt /path/to/