Navit

From Openmoko

Revision as of 00:03, 17 December 2007 by Gcb77 (Talk | contribs)

Jump to: navigation, search

http://navit.sourceforge.net/

Navit-1


Thanks to Alessandro, stefan_schmidt, cp15 and all Navit developers I have done a small ("not really working") preview of Navit on Neo1973 at Telemobility Forum 2007. Thanks to GFoss guys to invite me. Tyrael

Setting up Navit

I got navit set up and configured to the point where it follows me on the map. It doesn't have street names or any other information, just the map and the cursor showing the location and direction. Here's what I did:

wget -O map1.osm http://www.openstreetmap.org/api/0.5/map?bbox=-122.2,47.5,-122,47.7
wget -O map2.osm http://www.openstreetmap.org/api/0.5/map?bbox=-122.4,47.5,-122.2,47.7
wget -O map3.osm http://www.openstreetmap.org/api/0.5/map?bbox=-122.4,47.3,-122.2,47.5
wget -O map4.osm http://www.openstreetmap.org/api/0.5/map?bbox=-122.2,47.3,-122,47.5
      • Made a navit binary map file using the osm2navit binary that comes with the navit package on my linux box
cat *.osm | bin/osm2navit --dedupe-ways > mymap.bin
      • Copied the map to the NEO
scp mymap.bin root@neo:/home/root/card/map
      • Changed the navit.xml file on the NEO to use the new map
vi /usr/share/navit/navit.xml
<map type="binfile" enabled="yes" data="/home/root/card/map/mymap.bin" />
  • Run navit
    • Start gllin
    • Start gpsd ( gpsd /tmp/nmeaNP )
    • Start navit
Personal tools

http://navit.sourceforge.net/

Navit-1


Thanks to Alessandro, stefan_schmidt, cp15 and all Navit developers I have done a small ("not really working") preview of Navit on Neo1973 at Telemobility Forum 2007. Thanks to GFoss guys to invite me. Tyrael

Setting up Navit

I got navit set up and configured to the point where it follows me on the map. It doesn't have street names or any other information, just the map and the cursor showing the location and direction. Here's what I did:

wget -O map1.osm http://www.openstreetmap.org/api/0.5/map?bbox=-122.2,47.5,-122,47.7
wget -O map2.osm http://www.openstreetmap.org/api/0.5/map?bbox=-122.4,47.5,-122.2,47.7
wget -O map3.osm http://www.openstreetmap.org/api/0.5/map?bbox=-122.4,47.3,-122.2,47.5
wget -O map4.osm http://www.openstreetmap.org/api/0.5/map?bbox=-122.2,47.3,-122,47.5
      • Made a navit binary map file using the osm2navit binary that comes with the navit package on my linux box
cat *.osm | bin/osm2navit --dedupe-ways > mymap.bin
      • Copied the map to the NEO
scp mymap.bin root@neo:/home/root/card/map
      • Changed the navit.xml file on the NEO to use the new map
vi /usr/share/navit/navit.xml
<map type="binfile" enabled="yes" data="/home/root/card/map/mymap.bin" />
  • Run navit
    • Start gllin
    • Start gpsd ( gpsd /tmp/nmeaNP )
    • Start navit