osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.66k stars 1.02k forks source link

Routing jumps from ground level to tunnel #20970

Closed clementcontet closed 3 weeks ago

clementcontet commented 4 weeks ago

Routing engine

Routing Profile

Bike or pedestrian

Start and end points

https://osmand.net/map/navigate/?start=45.773458,4.829080&end=45.773647,4.829004&profile=bicycle#19/45.77336/4.82940

Actual route

image

Expected route

On third turn, the router jumps from a ground level way to an underground (and thus unconnected) one.

Maps you used (online or offline)

Your Environment

OsmAnd Version: 4.8.6
Android version: 10
Device model: OnePlus5

Anything else?

No response

yuriiurshuliak commented 4 weeks ago

The bug has been reproduced. When building a route using the provided coordinates, the router incorrectly switches from the surface path to an underground path at the third turn, despite there being no entrance to the underground tunnel.

Here is the link to the web version: OsmAnd route

Here is the link to the OSRM: OSRM route

Web version OSM
scaidermern commented 4 weeks ago

Sounds like #3634 and #11912

clementcontet commented 4 weeks ago

Oh, I didn't dig enough: it should be caused by this node, which incorrectly belongs to both a surface path and an undeground one: https://www.openstreetmap.org/node/12061289105 I'm fixing it in the map.

scaidermern commented 4 weeks ago

Good find! Better also check the other tunnels and bridges nearby :)

vshcherb commented 3 weeks ago

No plan to fix in OsmAnd