Notices


Reply
Thread Tools
Posts: 61 | Thanked: 17 times | Joined on Dec 2008 @ Toronto
#281
Hi ernia,
Mille grazie, I will try this tonight.
the #navit team are working on the next turn icon issue although I fear that once again it will be the poor svg support in Maemo that bites us.

Gerrit
 
Posts: 968 | Thanked: 974 times | Joined on Nov 2008 @ Ohio
#282
gerrit,

I haven't used run-standalone.sh (novice to linux, newbie to the n8x0's), currently launching by "navit /media/mmc2/maps/navit/navit.xml" in either launcher or command line when I want to see output. I'll try using run-standalone.sh tonight (any quick synopsis on why we should use it?)

much like ernia, I have a list of bookmarks that I can use for routing, editing if needed to add/remove/rename items.

Also, if you tap on the map, choose actions, the top right item (the map) has the coordinates of your tap. Choose the map, then set as position or destination. Exit back to the map, scroll, select another point, set at either destination or position and navit will route between the two.

Once I have a route, I switch to the demo car to see the navigation turns, street names, etc.
 

The Following 2 Users Say Thank You to lemmyslender For This Useful Post:
Posts: 61 | Thanked: 17 times | Joined on Dec 2008 @ Toronto
#283
ernia/lemmyslender, many thanks for teaching me about the routing. To me this is totally non-intuitive. But now that I know it is obvious :-)

Having tried the routing, I did a bit of digging in the code, then asked a ? on #navit. My theory was correct, the icons used to display Next trun are by default .svg files. And we know how well that works on Maemo.
The solution is to add
Code:
icon_src="$NAVIT_SHAREDIR/xpm/%s_wh_48_48.png
to the next_turn OSD config line. Voila, your icons appear again. E.g. the line I used is
Code:
<osd enabled="yes" type="navigation_next_turn" x="325" y="-135" w="150" h="100" align="15" background_color="#a60c0f00" icon_src="$NAVIT_SHAREDIR/xpm/%s_wh_48_48.png" />
gerrit
 

The Following User Says Thank You to gerritv For This Useful Post:
Posts: 968 | Thanked: 974 times | Joined on Nov 2008 @ Ohio
#284
gerrit

Speaking of totally non-intuitive, however, it worked like a charm. Also added it announcer_toggle line as well (...%s_48_48.png) and got the icon back there as well. The toggle still doesn't work, but at least I have a pretty picture.

Without you around, we'll be lost for a while.

Is the boat work or pleasure?
 
Posts: 2 | Thanked: 1 time | Joined on Feb 2009 @ Canberra
#285
Originally Posted by gerritv View Post
I can't create routes using town etc because the N800 doesn't have a locale for Canada.
I have the same problem in Australia, plus a lack of is_in tags. To get routing by town to work, I had to do two things:
  1. Put a script called navit in /usr/local/bin/.
    Code:
    #!/bin/sh
    LANG=en_AU /usr/bin/navit
    Because /usr/local/bin/ preceeds /usr/bin in the PATH, this script will be called from the launcher in preference to /usr/bin/navit.
  2. Hack osm2navit to add is_in=Australia to every place in the OSM export and regenerate the map. You won't need to do this if OSM already has is_in tags for Canada.

After doing these two things, routing by town works great. Street names seem to work too but I haven't tried them all that much.
 

The Following User Says Thank You to samco For This Useful Post:
Posts: 61 | Thanked: 17 times | Joined on Dec 2008 @ Toronto
#286
Hi Lemmyslender
The boat is pure pleasure. 66 days Auckland to Vancouver.

Samco, I will use your trick, en_CA is not in the default locale. My other approach was to add a locale but that is not trivial from what I have seen.

Gerritv
 
Posts: 968 | Thanked: 974 times | Joined on Nov 2008 @ Ohio
#287
Ahhhh

Enjoy your trip then. My brother works on boats, 30 on / 30 off (local trips in the Gulf of Mexico). I know there are longer ones out there. Just wondered.
 
Posts: 61 | Thanked: 17 times | Joined on Dec 2008 @ Toronto
#288
There are some updates on the wiki for OSD for Navit from Mineque of the #navit IRC channel.
Some of the settings are not quite correct for N8x0 yet, but those are coming shortly.

Gerrit
 
Posts: 61 | Thanked: 17 times | Joined on Dec 2008 @ Toronto
#289
From SVN2070 onward (tonight) you should see all the icons included in the Click to Install versions from my blog and from maemo.org/downloads. The icon file on my site will go away by the end of this week as it won't be needed anymore.

Gerrit
 

The Following User Says Thank You to gerritv For This Useful Post:
Posts: 3 | Thanked: 0 times | Joined on Feb 2009
#290
Hi all; I'm trying to get Navit working with a garmin map (just the free basemap), but I'm getting some funky output in the 'out' file using run-standalone (included at end). The basemap shows up when I change the Projection to "Garmin", but it is displaced quite a long distance to the right (east).

I have a GPS fix, .bin maps from OSM work fine, and as far as I know I'm using the newest versions of libgarmin and navit.... any help at all would be appreciated! Thanks!

Code:
navit:navit_set_attr_do:0xfffdd1ee,0xeaef
vehicle_gpsd:vehicle_gpsd_try_open:Connected to gpsd fd=4 iochan=0x1549c0 watch=0xd
:/work/compile/libgarmin/src/src/garmin.c:217:1|:libgarmin 0.1 initializing as GPS Backend
:/work/compile/libgarmin/src/src/garmin.c:471:1|:Loading /media/mmc1/garmin/gmapbmap.img as disk image
:/work/compile/navit/src/navit/map/garmin/garmin.c:983:1|:Using builtin types
gui_gtk:gui_gtk_toggle_init:Unable to locate CursorAction
gui_gtk:gui_gtk_vehicles_update:enter
navit:main:Using '/usr/share/navit/navit.xml'
:/work/compile/libgarmin/src/src/garmin_lbl.c:307:1|:Have 196 countries, 247 regions, 140033 cities, 0 zip codes
:/work/compile/libgarmin/src/src/garmin_lbl.c:307:1|:Have 0 countries, 0 regions, 0 cities, 0 zip codes
:/work/compile/navit/src/navit/map/garmin/garmin.c:811:1|:Can not find map data for the area: 1527514.000000 -5460544.000000 1525514.000000 -5458544.000000
:/work/compile/libgarmin/src/src/garmin_lbl.c:307:1|:Have 0 countries, 0 regions, 0 cities, 0 zip codes
:/work/compile/navit/src/navit/map/garmin/garmin.c:811:1|:Can not find map data for the area: 1527486.000000 -5460546.000000 1525486.000000 -5458546.000000
:/work/compile/navit/src/navit/map/garmin/garmin.c:811:1|:Can not find map data for the area: 1527488.000000 -5460548.000000 1525488.000000 -5458548.000000
:/work/compile/navit/src/navit/map/garmin/garmin.c:811:1|:Can not find map data for the area: 1527489.000000 -5460548.000000 1525489.000000 -5458548.000000
:/work/compile/navit/src/navit/map/garmin/garmin.c:811:1|:Can not find map data for the area: 1527489.000000 -5460548.000000 1525489.000000 -5458548.000000
:/work/compile/navit/src/navit/map/garmin/garmin.c:811:1|:Can not find map data for the area: 1527489.000000 -5460547.000000 1525489.000000 -5458547.000000
 
Reply

Thread Tools

 
Forum Jump


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