[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Debconf-discuss] HOWTO: offline routing with navit and OSM



Hi,

several people have told me that navit is too difficult to use. This is
a shame since I think navit is the best offline routing application that
exists in Debian. The following instructions should make it easy for new
users to configure navit for use at Banja Luka.

DISCLAMER: Do not rely on OSM as your primary means of navigation! I
take absolutely take no responsibility if you get lost somewhere in
Bosnia.

1) sudo apt-get install navit
2) rm -fr ~/.navit && mkdir ~/.navit && cd ~/.navit
3) cp /etc/navit/navit.xml .
4) wget http://downloads.cloudmade.com/europe/southern_europe/bosnia_and_herzegovina/bosnia_and_herzegovina.navit.bin.zip
5) unzip bosnia_and_herzegovina.navit.bin.zip
6) Edit navit.xml and change

<mapset enabled="yes">
<xi:include href="$NAVIT_SHAREDIR/maps/*.xml"/>
</mapset>

to

<mapset enabled="yes">
<map type="binfile" enabled="yes" data="$HOME/.navit/bosnia_and_herzegovina.navit.bin"/>
<xi:include href="$NAVIT_SHAREDIR/maps/*.xml"/>
</mapset>

7) Edit navit.xml and change

<navit center="4808 N 1134 E" zoom="256" tracking="1" orientation="-1" recent_dest="10">

to

<navit center="4477 N 1719 E" zoom="256" tracking="1" orientation="-1" recent_dest="10">

This makes sure that if you start navit without GPS it will show you
Banja Luka and not Munchen for which you have no map data.


You can see a screencast of that goes through these steps and more at

http://iki.fi/lindi/screencast/navit.ogv


-Timo

Reply to: