Skip to content

Turn by Turn: Always Turn Right #3289

Answered by kevinkreiser
mertbakir asked this question in Q&A
Discussion options

You must be logged in to vote

it would be pretty straight forward for us to add support for request time modification of turn penalties (we already have hardcoded ones).

doing it only inside the polygon is quite advanced and probably prohibatively costly to do it on the fly. instead we'd have to mark all the graph nodes that are inside the polygon upfront (as the first step before we run the route) and then store them in a map to check if the penalty should be applied at any point in the algorithm.

its all doable but none of it exists today. if you are interested in working on it i can show you where the changes would be made

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@mertbakir
Comment options

@nilsnolde
Comment options

@kevinkreiser
Comment options

Answer selected by mertbakir
Comment options

You must be logged in to vote
3 replies
@kevinkreiser
Comment options

@mertbakir
Comment options

@mertbakir
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants