Routing not taking direct route


#1

Using Directions Post (json or geojson) or with just two points with these coordinates the routing goes south first taking a longer route;

[[-116.9647,51.2976],[-115.3481, 51.0867]]

But using OpenStreetMap and Google it takes the desired routing;


#2

Than you for your inquiry!

The observed behavior seem to be a result of some OSM data quality issue at the connection between the bridge and road segment here:

It is possible to pass in the opposite direction, though:

image

There have been some edits to this area over the past months, and I don’t observe any problem with the most-recent OSM data. So this issue should resolve itself as soon as we update our servers for openrouteservice 5.1 release.

Cheers,
Andrzej