osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.71k stars 1.03k forks source link

AU: Incorrect display of turns #21373

Open yuriiurshuliak opened 3 days ago

yuriiurshuliak commented 3 days ago

Description

A user reports a issue where the turn directions shown in the widgets differ from those displayed on the map in the OsmAnd. The main map correctly shows the route ahead, while the widget erroneously indicates a turn.

Steps to reproduce

Actual result

The widget displays a turn instruction when the map shows the route continuing straight ahead.

Expected result

The turn directions displayed in the widgets must be correct.

Your Environment (required)

Device Information:

Device: Samsung XCover 5 Android Version: 14 OsmAnd App Version: OsmAnd+ 4.8.6

Attachments:

Wed 28 Aug 2024.zip

Ticket Number: 63068

yuriiurshuliak commented 3 days ago

The bug has been reproduced. To reproduce this bug, import the specified GPX track, attach it to the road, and enable navigation simulation.

You'll notice that the Lanes widget and Next turn widget incorrectly show turns on straight road sections.

Here is the link to point-to-point navigation on the web version: Navigation

OsmAnd~ 4.9.0#3122m, released: 2024-09-03

vshcherb commented 3 days ago

Related issues: https://github.com/osmandapp/OsmAnd/issues/19726

yuriiurshuliak commented 3 days ago

Intersection has 3 directions assuming right, left, straight, turn:lanes=||right. So information is missing. As for now parsing separates "striaght" and "none"/"empty".
As information incomplete probably we need to disable turn:lanes, it happens often in Australia and we need to link other issues here. With incomplete data algorithm won't handle turn:lanes correctly.