osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

routing with some turning restrictions is broken

Open hlinden opened this issue 12 years ago • 8 comments

http://osrm.at/8aw

leads to this route:

http://i.imgur.com/xxdPWal.png

...which of course is not correct. The other way round, the route is calculated as expected. There is no obvious error in the osm data, other routing solutions route correctly in both directions.

hlinden avatar Jun 30 '14 10:06 hlinden

Thanks for reporting this. Seems to be an issue when a single road segment is the source of two is_only_* restrictions. Working on it.

DennisOSRM avatar Jul 01 '14 17:07 DennisOSRM

Hi, i just happened to click around and came up with this: http://osrm.at/8Kd Could be the same issue, or maybe not?

I think the tagging is correct, so at the node https://www.openstreetmap.org/node/289606224 one should be able tu turn left. There is a no-u-turn relation, and a only_straight_on relation that may be playing into it.

ETA: If you go the other way, it leads to this: http://osrm.at/8Kg Weird, could not see anything in the data.

daganzdaanda avatar Jul 30 '14 18:07 daganzdaanda

... I think this may be causing the hiccups: https://www.openstreetmap.org/relation/3483948 Compare http://osrm.at/8Kh and http://osrm.at/8Ki

If you switcht the direction, it looks as if it breaks at https://www.openstreetmap.org/relation/3483950

The OSM data seems to be OK, since Mapquest has no problem.

daganzdaanda avatar Jul 30 '14 18:07 daganzdaanda

The issue has been identified. It will take a couple of days though until a patch is available.

DennisOSRM avatar Jul 30 '14 19:07 DennisOSRM

cool, thanks!

daganzdaanda avatar Jul 31 '14 10:07 daganzdaanda

Here's a quick update on the issue. And a picture says more than a thousand words:

bildschirmfoto 2014-08-07 um 18 27 31

Fix will arrive within the hour and the demo site should pull this in within the next 12--18 hours.

DennisOSRM avatar Aug 07 '14 16:08 DennisOSRM

Fix is live on the demo site.

DennisOSRM avatar Aug 08 '14 11:08 DennisOSRM

Thank you, great work!

daganzdaanda avatar Aug 11 '14 13:08 daganzdaanda