Route leaves main road

Someone has an idea why routing leaves the main route with car/bicycle?
click me

Thanks!

Hi @Daniel,

strange indeed.
For both profiles it has to do with the route weighting, as for both it uses the direct way with shortest preference.
Bicycle routing probably avoids primary roads.
But the road has an explicit cycle lane…

Could you open a bug report in our repo and best also link to the relevant osm object:

using:
this way 155787045 and this way 5735635
instead of :
way 1037821239 and way 1022492236

best regards

Hello @amandus,

I can open an issue. Is it a bug in maps.openrouteservice.org? On repo openrouteservice there is a hint to open the issue in repo ors-map-client. Is it correct to open the issue in ors-map-client?

BTW: The error also occurs, if you switch from bicycle to car…

Thanks!

Bye

Hi @Daniel,

no the repo i linked you is the correct one.
It’s the routing engine, not the web application that has the issue :slight_smile:

Thanks for taking the time :handshake:
Best regards

The travel time on the unexpected route is reported to be about 1 second (!) shorter than on the direct one. My educated guess would be that this is due to the acceleration heuristic employed to compute the travel times. There have been similar issues reported in the past. In general, this a know problem which we hope to address at some point :pray:

Looks like there are some reports to “my” issue

I subscribed to #991 and #630. If those issues are fixed I check my issue again :wink:

Thanks for your help!

1 Like