Preference tertiary/secondary/primary


#1

Hi,
i am having trouble finding the cause for this “detour” via a tertiary and secondary - avoiding the primary although it has the same speed limit. Tagging is pretty extensive with lanes, surface, shoulder, sidewalk, maxspeed in all segments.

When using hgv it correctly uses the primary all the way, using the car it makes a pretty strange detour.

https://maps.openrouteservice.org/directions?n1=51.808747&n2=8.405099&n3=14&a=51.832118,8.352742,51.801238,8.410807&b=0&c=0&k1=en-US&k2=km

Flo


#2

Hi Flo,

as already promised in our owl mailing list - I will analyze what could lead to this strange detour…

for all - this might be related to the max speed (and the “acceleration-sim” code we introduced) - reducing the overall maxspeed to 75km will give you the expected route

https://maps.openrouteservice.org/directions?n1=51.816733&n2=8.38201&n3=14&a=51.832118,8.352742,51.801238,8.410807&b=0&c=0&d=75&k1=en-US&k2=km

Matthias