Saturday, February 23, 2008

Playing with Freedom Keychain GPS 2000 on Gutsy Gibbon - Part 3

Next on the list are some GPS mapping softwares for linux. A popular one is GPSdrive. Installation was easy, Ubuntu has a debian package in its repositories. Sadly, does not have decent maps for India (see below) . Will, pass for now.



Now we try Navit. By default it too does not have maps for India. But, the documentation says that it works with the following -

- OpenStreetMaps : display, routing, but street name search isn't complete
(see http://wiki.navit-project.org/index.php/OpenStreetMaps )
- Grosser Reiseplaner and compliant maps : full support
(see http://wiki.navit-project.org/index.php/European_maps )
- Garmin maps : display, routing is being worked on
(see http://wiki.navit-project.org/index.php/Garmin_maps )

Install Navit
cvs -d:pserver:anonymous@navit.cvs.sourceforge.net:/cvsroot/navit login
cvs -z3 -d:pserver:anonymous@navit.cvs.sourceforge.net:/cvsroot/navit co -P navit
cd navit
./autogen.sh
./configure
make
make check
sudo make install

download planet.bin into /usr/local/share/navit/maps/ from: http://maps.navit-project.org/ct.org/ (1.3 GB file)
sudo gedit /usr/local/share/navit/navit.xml
map type="garmin" enabled="yes" data="$NAVIT_SHAREDIR/maps/planet.bin"



Optionally, If you don't want to download the maps for the whole planet you can try getting only the map tiles you are interested in:
wget -O map.osm http://www.openstreetmap.org/api/0.5/map?bbox=73.2688,17.3825,73.56, 88,17.6825
the format is:
you can get the co-ordinates from:
http://informationfreeway.org/



Finally, If you would rather prefer Garmin maps (but, mind it these are pretty hopeless for India):

svn co http://libgarmin.svn.sourceforge.net/svnroot/libgarmin/libgarmin/dev libgarmin
cd libgarmin
./autosh.sh
make
sudo make install
re configure and re make Navit.

download garmin map tiles from:http://garminmapsearch.com/
sudo gedit /usr/local/share/navit/navit.xml
map type="garmin" enabled="yes" data="/usr/local/share/navit/maps/73551480.img" debug="4"


4 comments:

mikel.maron said...

For maps of India, you should look into the OpenStreetMap project. We've started off open collaborative mapping in India with a series of workshops this month.

http://wiki.freemap.in/moin.cgi/FreeMapIndia2008

Dev's Lab said...

Actually I am currently using Navit with OpenStreetMaps. I tried it out on a trip from Pune to Mumbai and back just yesterday. I will be posting my experiences with it on the trip, soon.

I think the Free Map India 2008 is super cool. Drats, I missed you guys when you were in Pune.

I have just gotten interested into maps and will definitely contribute to openstreetmaps as when possible.

I think the maps for India still have a long way to go. Especially for example, the directions always seemed to avoid the pune-express hwy.

Great initiative. Thanks.
Dev

mikel.maron said...

There will be continuing activity after we leave -- that's the whole point. I suggest joining the mailing list for ongoing coordination. I expect there will be quite a lot of activity in Pune.

Anonymous said...

be happy and love. kiss