I think this is a bug. 


<https://lh3.googleusercontent.com/-CrSZxsncyYE/WRJvo0tLT0I/AAAAAAAAACU/AeWi-Mpj2ikhrKvWU4r_HlPVVKbApSPdwCLcB/s1600/Screenshot.png>


A highway link is being ignored because when applying turn restriction the 
algorithm considers only the to/from ways and ignores the via node. The 
link is not on the path of the via node, but it is within the path of the 
to/from ways, so the link is ignored because of the to/from restriction.

https://www.openstreetmap.org/relation/6792472



I’m fairly sure if we split the ways (where the link connects) to make sure 
the link is not on the path of the to/from ways will resolve the navigation 
error, however the algorithm should be able to handle this situation. 


Using: OsmAnd+ 2.6.3, OsmAnd's in-app offline routing, car routing profile, 
map Canada Alberta Apr 30 2017,

expected routing:

https://www.openstreetmap.org/directions?engine=osrm_car&route=51.15967%2C-114.16343%3B51.15944%2C-114.16252#map=19/51.15962/-114.16297

-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: route.gpx
Description: application/gpx

Reply via email to