You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm routing between points that are somewhat on a 90 degree x/y grid and getting a lot of zig-zaggy results based on best time.
Is there any way to introduce a cost associated with making left and right turns without editing the routerdb? For example, I'd prefer a route that may take 0-10% longer if it significantly reduces the number of turns needed.
I saw some references to turnPenalty in the source code but this seems to relate to u-turns based on my reading of the code.
thank you.
The text was updated successfully, but these errors were encountered:
I'm routing between points that are somewhat on a 90 degree x/y grid and getting a lot of zig-zaggy results based on best time.
Is there any way to introduce a cost associated with making left and right turns without editing the routerdb? For example, I'd prefer a route that may take 0-10% longer if it significantly reduces the number of turns needed.
I saw some references to
turnPenalty
in the source code but this seems to relate to u-turns based on my reading of the code.thank you.
The text was updated successfully, but these errors were encountered: