Notices


Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Jan 2009
#151
Originally Posted by ernia View Post
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.

Last edited by deft; 2009-01-28 at 14:59.
 
Posts: 72 | Thanked: 12 times | Joined on Dec 2008
#152
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.

Last edited by ernia; 2009-01-28 at 08:36. Reason: typo
 

The Following User Says Thank You to ernia For This Useful Post:
casper27's Avatar
Posts: 844 | Thanked: 521 times | Joined on Jan 2009 @ UK southampton
#153
Anyone else got a file called knobhead" in there navit share file?
 
Posts: 968 | Thanked: 974 times | Joined on Nov 2008 @ Ohio
#154
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's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#155
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.
 
Posts: 61 | Thanked: 17 times | Joined on Dec 2008 @ Toronto
#156
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

Last edited by gerritv; 2009-01-28 at 16:06.
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#157
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.
 

The Following 2 Users Say Thank You to dwould For This Useful Post:
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#158
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.
 

The Following 2 Users Say Thank You to dwould For This Useful Post:
Posts: 61 | Thanked: 17 times | Joined on Dec 2008 @ Toronto
#159
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.

Last edited by gerritv; 2009-01-28 at 22:00.
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#160
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?
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:35.