Closed hakuchi closed 7 years ago
This is hard to understand. To my knowledge, the turn:lanes only influence the display of lane recommendations, not the turn instructions. You might need to specify from where to where your routing goes, make a screenshot of the turn and lane instructions, and take a note of the voice output.
If the exit from the motorway have through in turn:lanes
this need a voice prompt.
If the turn:lanes
not have through as key, OsmAnd give correct "turn slight right" voice prompt.
But if there is through in turn:lanes
, OsmAnd not giving any voice prompt for exits.
OK, I was able to reproduce the problem, however it has nothing to do with voice, thus the issue title is misleading.
I created a route leaving the A14 at exit 26 as in @hakuchi's first way. The route instructions recommend the correct way to exit, but fail to recognise the turn. The lane recommendation highlights the wrong lane. The A14 is perfectly straight here, so that cannot be the cause for failing to recognise the slight turn.
The lane count goes from 3 to 2+1, so that is correctly tagged. The w4401150 has some other tagging such as lane placement, is that already evaluated?
@hakuchi - do you know how to simulate a route? @vshcherb - this reminds me to #1347, as I see the exit number in the description...
@polarbearing thanks for screenshots 👍
The issue is that Osmand not giving voice prompts if the turn:lanes
have none|through
as key.
I think this can be fixed with the mapcreator when we change the through
to none
.
I will test(at home) if this work also, if I change through;right
to none;right
.
PS: Yes I know how to simulate a route.
@hakuchi : you must not change 'through' lanes to 'none', that is a different meaning. 'none' means you can turn in any direction, while 'through' means you can only go straight.
@sonora : thanks for changing the title, however it is not only the lane selection, it does not give the correct turn in the route description. Thus picking the straight lane is only a consequence of pointing straight in the routing.
and why is on the exit Leipzig-Ost, if you come from south, none|through|slight_right and if you come from north none|none|slight_right? I can not see anything different on Bing image.
'none' means you can turn in any direction, while 'through' means you can only go straight.
The arrow through(on the ground) shows that you not leave the motorway on this lane, but you can change the lane to left and right(you should change to right lane as early as possible, if you will exit).
On the example from north to south you can use here all 3 lines(no turn:lanes on it), but the third lane change to a exit lane here, and so you have to change onto lane 1 or 2 if you will drive to Dresden/Kleinpösna. If you not can change the lane, there should be used change:lanes=yes|not_right|no or similar(example).
PS: if the turn lanes have through|through|right or through|through|slight_right, OsmAnd select correct lane and give voice prompts.
So I think the problem is when the key have a combination with none
and through
. And for this my suggestion to change the "through" in map creator to "none".
Tested wit changing through to none ~and I can not find any bug~(see next comment).
In the following screenshot I changed the turn lanes to none|none|none;slight_right
~This is a simple solution for OsmAnd(not OSM), I don't know if there is a other solution to support none|through|right
~(this solution not support all turn:lanes with through)
Hi, i have another example A1 -> Blankenheim The road is correctly highlighted but the lane instructions tells you to go through. The road is tagged "left;through|right" http://www.openstreetmap.org/#map=19/50.46360/6.69598 Sadly i cant add a screenshot currently
@bitboy85: thx for this example.
also on this intersection the voice prompts are missing.
I tested with different modifications of the OSM data, but changing the keyleft;through|right
to left;none|right
, none;left|right
, left;|right
or ;left|right
have not solved the problem.
This bug need some code inside OsmAnd to detect turn:lanes with through| and ;through| correctly.
Please add turn:lanes to the small segments as well to help algorithm to detect i.e. http://www.openstreetmap.org/way/150243725, http://www.openstreetmap.org/way/320168795. I think it will be enough on the other hand I'm not 100% sure if algorithm will detect split of turn:lanes when 1 lane splits to 2 roads!
@vshcherb adding turn
or turn:lanes
to the two road segments(10243725 / 320168795), not show correct turn lanes in OsmAnd.
Also If I turn left, OsmAnd show only through.
Fixed
on the above examples the issue is solved, but if the way have none|through;slight_right OsmAnd not use correct lane.
In Austria (overpass link) the most motorway exits have turn lanes with none|through;slight_right.
here an Example: https://www.openstreetmap.org/#map=18/47.60138/15.72202 from west from east
Looks like this is related: Going south on http://www.openstreetmap.org/way/122528751, turning right (onto http://www.openstreetmap.org/way/84975049), OsmAnd navigation misses the turn and interprets this as "straight", which is clearly misleading there.
Not sure about the other examples, the case I describe in the post above seems not fixed, though ...
the other examples are fixed. the example from sonora is not fixed.
OsmAnd have some problem with turn:lanes:backward=left|through;right when the intersection after the turn lane not have a 90° angle. Example 1 example 2
On a intersection with turn:lanes:backward=left|through;right and a 90° angle, OsmAnd is able to detect correct turn. Example 1
if the turn:lanes(:forward/backward) have none|through|slight_right the voice is giving no turn instructions. If I change these to none|none|slight_right the voice give correct turn instruction.
here a example to test. tested with latest from PlayStore and latest nightly. Same bug. with through: https://www.openstreetmap.org/way/4401150 https://www.openstreetmap.org/way/153077009 -> München-Süd
without through: https://www.openstreetmap.org/way/34492231 https://www.openstreetmap.org/way/256297941 -> München-Süd
Arround the world are a lot of
turn:lanes=none|through|...
and none of them is used correct.