GIScience / openrouteservice

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

[Directions API] Residential road | Code 2009: Route could not be found #341

Closed mkalygin closed 5 years ago

mkalygin commented 5 years ago

I'm trying to build a route through a residential road. And I'm getting Code 2009: Route could not be found error. It's OK in Graphhopper though. Here are the routes:

What could be possibly wrong with this route and how can we fix it?

aoles commented 5 years ago

Interesting, looking at the OSM tags I don't see any obvious reason why the route is not found. Needs further investigation.

TimMcCauley commented 5 years ago

@aoles will you take this one ?

rabidllama commented 5 years ago

I've had a quick look into it and from what I can tell the edges for those roads are added to the graph but then the algorithm doesn't detect them for some reason, so I believe this is most likely a more in depth issue embedded in the core system.

aoles commented 5 years ago

Fixed by https://github.com/GIScience/openrouteservice/pull/357.

mkalygin commented 5 years ago

@rabidllama @aoles guys, thanks for the fix! Is there any approximate date for release of this fix?

rabidllama commented 5 years ago

We are in the process of doing the release at the minute, and so it should be within hopefully the next week, but maybe two weeks. I will announce on https://ask.openrouteservice.org/c/announcements when it is all done :)

rabidllama commented 5 years ago

Fixed in release 4.7.2