Opened 11 years ago

Closed 7 years ago

#925 closed defect/bug (fixed)

Missing icons for turn instructions

Reported by: mvglasow (2) Owned by: mvglasow (2)
Priority: major Milestone: version 0.5.1
Component: port/android Version: git master
Severity: normal Keywords: osd, directions, icon
Cc: michael@…

Description (last modified by usul)

Occasionally, the icon for the next turn instruction shows "unknown.xpm". Apparently, icons for some turn instructions are missing.

Tested with r4969 on Android; navit.xml extracted from the apk and stored in /sdcard/navit; the only change is that I commented out TTS settings as I was having issues with TTS on my phone.

As this might confuse users and they might think that navit is broken, I schedule it for hotfix.

Change History (4)

comment:1 follow-up: Changed 10 years ago by usul

  • Component changed from core to port/android
  • Description modified (diff)
  • Keywords osd directions icon added
  • Milestone set to version 0.5.1
  • Owner changed from KaZeR to cp15

Hmm, at least for the linux version, there is a icon. Can anybody please check this against the current Android SVN?

comment:2 in reply to: ↑ 1 Changed 10 years ago by mvglasow (2)

  • Cc michael@… added

(Edited because I realized this was my ticket, not usul's)

Replying to http://wiki.navit-project.org/index.php/user:usul:

Hmm, at least for the linux version, there is a icon.

More than just one icon, I hope :-)

Usually it works for me, only in some occasions I got the "unknown.xpm" icon for the turn instruction. Apparently it's just one instruction (or a few) for which the icon is missing.

It's been long since it last happened; if I remember correctly, one instance in which it happened was when Navit instructed me to do a U-turn onto the opposite carriageway (at the end of a dual-carriageway section with no turn restrictions). So the instruction in question must be something like "sharp left turn" or "U-turn left".

Where in the code would I find a list of all possible maneuvers, so I could cross-check that each has an icon? If there's really a missing icon, analyzing the code might be more helpful in tracking down the missing one than merely relying on try and error.

Last edited 10 years ago by mvglasow (2) (previous) (diff)

comment:3 Changed 8 years ago by mvglasow (2)

  • Owner changed from cp15 to mvglasow (2)
  • Severity set to normal

I've examined a similar sitiation using the test suite at https://github.com/mvglasow/navit-goodies/tree/master/scripts/routetest and the following test case:

Kruishoutem 3.4905054 50.9148007 3.5010574 50.9187998

The route involves a U turn onto the opposite carriageway. This generates the following maneuver on r5975:

<rtept lon='3.5005643849583628' lat='50.9120419983962549'><type>none</type><name>Turn really strongly left in 300 meters into the Olsensesteenweg N459</name></rtept>

The maneuver type of none explains why we're not getting an icon for the maneuver. This will be fixed as part of Project HighFive?; assigning to myself.

comment:4 Changed 7 years ago by mvglasow (2)

  • Resolution set to fixed
  • Status changed from new to closed

HighFive? has been merged, which should fix this. I did not encounter this issue any more (neither in my test set nor in real life), closing.

Note: See TracTickets for help on using tickets.