GIScience / openrouteservice

🌍 The open source route planner api with plenty of features.
https://openrouteservice.org
GNU General Public License v3.0
1.47k stars 402 forks source link

Routing skips a bridge, anyone can help to understand why? #1258

Closed eliboni closed 1 year ago

eliboni commented 1 year ago

Here's what I did

Calculate routing between two close points across a bridge near Ouano pass in Morocco link to ORS map


Here's what I got

routing does not cross the brige, a detour of 140km is shown


Here's what I was expecting

go strait from point 1 to point 2 (graphhopper does it)


Here's what I think could be improved

I'm not sure if this is a refresh problem, perhaps OSM data had an error that was corrected. However it is more than 2 weeks that I experience the behavior.

TheGreatRefrigerator commented 1 year ago

Note regarding OSM edit: The edit 2 weeks ago only changed the surface from ground to asphalt. https://www.openstreetmap.org/way/1111621367/history A way with surface=ground still should have been traversable.

aoles commented 1 year ago

Thanks @TheGreatRefrigerator! I don't think surface=ground was an issue either, I rather suspect the way might not have been properly connected prior the mentioned change. The routing works correctly with the recent OSM data snapshot, so I expect the issue to resolve itself in a couple of days once the graphs on the server are updated.

eliboni commented 1 year ago

@aoles @TheGreatRefrigerator many thanks for looking into it, and especially having tested with fresh osm data. I will wait a few days to see if the issue resolves automatically.

eliboni commented 1 year ago

Is there a way to know when routing data have been last refreshed in ORS? Looking at the link reported by @TheGreatRefrigerator the last edit occurred 17 days ago.

eliboni commented 1 year ago

Just to confirm the issue disappeared, now I can cross the brigde ;) So it was likely what @aoles said, just the refresh took some additional time. Thanks all for your inputs