[Directions API] — Route to Closed Area

23 views
Skip to first unread message

Michael Kalygin

unread,
Jun 25, 2018, 6:54:29 AM6/25/18
to openrouteservice.org

Hi!


There are some cases when a route cannot be properly built if a destination point is in a closed area.

Here is an example route:

The point B is in the closed area. And the route cannot reach this point because of that. Though it is possible to pass to the closed area. E.g. Yandex and Google can build this route correctly (see screenshots).

Is there a way to overcome this issue using OpenRouteService Directions API?




Timothy

unread,
Jun 26, 2018, 3:07:34 AM6/26/18
to openrouteservice.org
Hi Michael,

thank you for pointing this out. Could you please check OpenStreetMap.org for this specific area? Are they open and traversable for cars?

Cheers, TIm

Michael Kalygin

unread,
Jun 26, 2018, 4:32:59 AM6/26/18
to openrouteservice.org
Hi Tim!

I'm using this link:
https://www.openstreetmap.org/directions?engine=osrm_car&route=59.9277%2C30.3458%3B59.9955%2C29.7016#map=15/59.9982/29.7091

It works the same way when I use "By car (GraphHopper)". And it sometimes works as expected if I use "By car (OSRM)" or it doesn't build this route at all. But I has been able to get the correct route somehow:

Timothy

unread,
Jun 26, 2018, 5:15:47 AM6/26/18
to openrouteservice.org
Hi Michael,

this most likely has got something to do with the openstreetmap data we use for the route network; eventually we are missing something here. Can you please open an issue on 


With specific details? One of our engineers will look into it then.

Thank you

Tim

Michael Kalygin

unread,
Jun 26, 2018, 9:05:20 AM6/26/18
to openrouteservice.org

Michael Kalygin

unread,
Jun 27, 2018, 10:46:35 AM6/27/18
to openrouteservice.org
Hi Tim!

Could you say how long fixing this issue can take? One of my projects is using this route. And I'm trying to understand should I do some workaround for now or I can just wait for the fix from your engineers.

Thanks.

Nipun Rajput

unread,
Jul 12, 2018, 5:33:58 AM7/12/18
to openrouteservice.org
Hi Michael Kalygin,

I am also using OpenRouteService to get the directions in US. Since you guyz already have a solution build on this, I was wondering if you could point me to a document which provides the coverage stats or availability of data in different countries just like this one: https://developers.google.com/maps/coverage
Reply all
Reply to author
Forward
0 new messages