maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Navit GPS (and libgarmin) for os2008 (https://talk.maemo.org/showthread.php?t=18093)

deft 2009-01-28 07:28

Re: Navit GPS (and libgarmin) for os2008
 
Quote:

Originally Posted by ernia (Post 260213)
you don't need to be root to use navit, you can just put the map where you have write access, then copy the /usr/share/navit/navit.xml to /home/user/.navit/navit.xml and edit it to point to your map.

Thanks, I did do this, and made a corresponding .xml file pointing to the .bin like the one used with the sample map. Navit loads and seems to show ..a map of sorts.. mostly blank except along one axis showing ... bits and pieces of rivers & highways north of London and if I scroll south for a while, Africa - the Congo.

I see that in the navit.xml config file there is a line to set the center of the map, but of course I can't write to that.. I suppose I'll use one of the methods to get root access now.

another odd thing is that if I double tap on the map anywhere Navit dies suddenly with no error message.

ernia 2009-01-28 08:35

Re: Navit GPS (and libgarmin) for os2008
 
by editing as user /home/user/.navit/navit.xml you get the same results (running navit as user) as you were editing as root /usr/share/navit/navit.xml.
you can download pre-built maps bin files here:
http://downloads.cloudmade.com/
and learn more about navit.xml here:
http://wiki.navit-project.org/index....figuring_Navit
be careful about the format of center of the map coordinates, read carefully navit.xml about that.

casper27 2009-01-28 13:30

Re: Navit GPS (and libgarmin) for os2008
 
Anyone else got a file called knobhead" in there navit share file?

lemmyslender 2009-01-28 14:25

Re: Navit GPS (and libgarmin) for os2008
 
deft, sounds like you need to set the coordinates for your initial location. You can also adjust the default zoom level as well. There should be a zoom="xxx" just to the right of the coordinates. I think I changed it from 128 to 64.


dwould/gerritv any ideas on the new settings for the osd the latest svn, 1979 "major cleanup in osd" seems to have eliminated eta, street, next street, sat info, and speed. Looks like it was replaced with osd_text?? maybe with some settings (format / attrib) to indicate which text you want displayed?

Looks like settings for speed, arrival destination time, remaining destination time are available. Played with it last night for a while, couldn't figure it out. I am not a programmer though, and may be missing something?

dwould 2009-01-28 15:19

Re: Navit GPS (and libgarmin) for os2008
 
Lemmyslender, I shall try to take a look tonight to see what's changed. I did see that gerrit's fix for the items that didn't display has been canceled as unnecessary due to this update.

gerritv 2009-01-28 16:02

Re: Navit GPS (and libgarmin) for os2008
 
Hi
the new style OSD config is at approx the 19:03 mark in this file. I'm sure he default navit.xml will have examples once the mod is finalized. I know it displays at least the sat_nums stuff. Due to weather here I don't feel like venturing out to try the other items with live gps.

Gerrit

dwould 2009-01-28 16:23

Re: Navit GPS (and libgarmin) for os2008
 
ok so for example you can now have:
<osd enabled="yes" type="text" label="${vehicle.position_speed}" x="360" y="10" font_size="450" w="180" h="50"/>
to show the speed.
I don't have time now, but assuming someone doesn't beat me to it I'll update the wiki later with my layout version using the new format.

dwould 2009-01-28 20:52

Re: Navit GPS (and libgarmin) for os2008
 
Ok I've updated the wiki: http://wiki.navit-project.org/index....ration_options
with a new layout using the new options. Everything seems to work ok, although getting lots of 'null' displayed when there is no data to show is a little annoying.
The new style is pretty cool, since they are now all free text boxes you can add text to the layout (which I've done) or you can just have the raw figures.
If anyone plays with better/different layouts it would be cool to add them to the wiki. I'm going to download a screenshot prog and see if I can't upload an image of what my layout looks like.

gerritv 2009-01-28 21:55

Re: Navit GPS (and libgarmin) for os2008
 
Hi
Super write up, thank you.
The <null> will go away with the next SVN build, a change was checked in this morning. I will push a bit to get my other changes into SVN as well.

dwould 2009-01-28 21:59

Re: Navit GPS (and libgarmin) for os2008
 
Quote:

The <null> will go away with the next SVN build, a chance was checked in this morning.
Cool, I've also just tweaked the display setup on the wiki, and added a picture to show it in action.

Things starting to come together.

Any ideas on ways we might improve the performance of navit on the n810?

And on a separate note, is there a good source of info on tags to use when editing open streetmap to most benefit Navit usage?


All times are GMT. The time now is 03:07.

vBulletin® Version 3.8.8