[Debian] install from scratch: partial success
Timo Jyrinki
timo.jyrinki at gmail.com
Thu Aug 25 07:55:45 CEST 2011
2011/8/24 e.waelde <ew.ng7125 at nassur.net>:
> This sounds like more adventure :-)
> I still have navit not draw a map ... :-(
I know the feeling with navit. Hopefully this helps:
1. Edit /etc/navit/navit.xml
2. Find the <navit center line, and change it to: <navit center="6010
N 2500 E" zoom="128" tracking="1" orientation="0" recent_dest="10"
drag_bitmap="1" autozoom_active="1" map_border="30" radius="33"
timeout="15">
(note that I like North-oriented map so that I actually get a sense of
directions myself, change orientation to "1" I think if you want the
"usual" navigation experience)
3. Edit the coordinates to your liking, that's ca. Helsinki, Finland there
4. Get your bin file that includes your coordinates from
http://maps7.navit-project.org/
5. Search for "mapset" in the navit.xml, make sure only one is enabled
and the one isn't the sample map ($NAVIT_SHAREDIR/maps/*.xml) but the
one with <map type="binfile", where you point the "data" to your .bin
file
Attached is osd.xml that has a better OSD suitable for FreeRunner.
Edit the navit.xml so that the existing "<osd enabled" tags are set to
"<osd enabled="no", and add <xi:include href="/etc/navit/osd.xml"/>.
If you want a spoken navigation guidance, useful when driving, add a
line like this:
<speech type="cmdline" data="/usr/local/bin/sanon '%s' &"/>
The script I call simply uses Festival's Finnish female voice and
changes character encoding since festvox-suopuhe (or festival itself?)
needs still iso-8859-1: echo $* > /tmp/ttv && iconv -f UTF-8 -t
ISO8859-1 /tmp/ttv > /tmp/ttv2 && festival --language finnishf --tts
/tmp/ttv2 >/dev/null 2> /dev/null
Note that especially together with speech Navit is pretty slow on
FreeRunner. It works if you just set the destination and don't touch
it anymore, but might start weirdly "lagging" if you try to use it
much during the guidance :) I know there have been ways to speed up
navit considerably, but I never seem to remember what they were a
short while after reading about that. The drawing mainly shouldn't
really be _that_ slow.
-Timo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osd.xml
Type: text/xml
Size: 7072 bytes
Desc: not available
URL: <http://lists.linuxtogo.org/pipermail/smartphones-userland/attachments/20110825/32fbeede/attachment.bin>
More information about the Smartphones-userland
mailing list