Difference between revisions of "Garmin maps"

From Navit's Wiki
Jump to: navigation, search
(Configure your map source)
Line 1: Line 1:
There is an experimental driver for Garmin IMG maps.
+
There is an experimental driver for '''Garmin IMG maps'''.
  
It's located here : http://libgarmin.sourceforge.net/
+
It's located here: http://libgarmin.sourceforge.net/
 
You will need the 'subversion' (svn) tool to install this driver.
 
You will need the 'subversion' (svn) tool to install this driver.
  
You can search a map for your area there : http://garminmapsearch.com/
+
You can search a map for your area there: http://garminmapsearch.com/
  
 
Please give us feedback / bug report about this driver!
 
Please give us feedback / bug report about this driver!
Line 20: Line 20:
 
  make install
 
  make install
  
=How to build the driver=
+
==How to build the driver==
  
 
Be sure to update navit to latest cvs
 
Be sure to update navit to latest cvs
Line 29: Line 29:
 
  ./autogen.sh && ./configure && make
 
  ./autogen.sh && ./configure && make
  
=Configure your map source=
+
==Configure your map source==
Now add your first garmin map to navit.xml
+
Now add your first garmin map to [[Configuring Navit|navit.xml]]
  
 
         <mapset enabled="yes">
 
         <mapset enabled="yes">
Line 37: Line 37:
  
 
Where you can give it either dskimg file (gmapsupp.img) or a .tdb file
 
Where you can give it either dskimg file (gmapsupp.img) or a .tdb file
 +
 +
==Install a free basemap from Garmin==
 +
You can download a free base map from garmin.
 +
http://www8.garmin.com/support/download_details.jsp?id=3645
 +
 +
After you get GarminMobileXTFreeBasemap_4xxxx.exe, unzip it to some temporary directory.
 +
In GMobileCard/Garmin directory you will find a file called gmapbmap.img.
 +
Copy that file in some location for later use, let's say /mymaps/gmapbmap.img .
 +
Now you can remove the temporary directory.
 +
And register the map in your navit.xml
 +
    <mapset enabled="yes">
 +
            <map type="garmin" enabled="yes" data="/mymaps/gmapbmap.img"/>
 +
      </mapset>
  
 
[[category:maps]]
 
[[category:maps]]

Revision as of 14:56, 13 October 2008

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
./autosh.sh
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>

Where you can give it either dskimg file (gmapsupp.img) or a .tdb file

Install a free basemap from Garmin

You can download a free base map from garmin. http://www8.garmin.com/support/download_details.jsp?id=3645

After you get GarminMobileXTFreeBasemap_4xxxx.exe, unzip it to some temporary directory. In GMobileCard/Garmin directory you will find a file called gmapbmap.img. Copy that file in some location for later use, let's say /mymaps/gmapbmap.img . Now you can remove the temporary directory. And register the map in your navit.xml

    <mapset enabled="yes">
           <map type="garmin" enabled="yes" data="/mymaps/gmapbmap.img"/>
     </mapset>