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
{{ message }}
Repository navigation
Issue with calculating turn instructions with turn_costs=true and ch #1883
I never tried this before with turn costs and ch, so I don't know if it ever worked before, I guess it didn't. With regular turn costs and LM this used to work just fine. I just noticed this when working on #1047 when comparing results with my local instance and was wondering about the differences.
changed the title [-]Issue with calculating turn instructions with turn_costs=true[/-][+]Issue with calculating turn instructions with turn_costs=true and ch[/+]on Jan 29, 2020
One important criteria for skipping instructions are the surrounding edges. If they seem like a turn alternative, then an instruction is created to make sure the is notified about the turn. If there are no alternatives an instruction can be skipped.
Activity
easbar commentedon Jan 29, 2020
Did this use to work or did you never try before?
boldtrn commentedon Jan 29, 2020
I never tried this before with turn costs and ch, so I don't know if it ever worked before, I guess it didn't. With regular turn costs and LM this used to work just fine. I just noticed this when working on #1047 when comparing results with my local instance and was wondering about the differences.
[-]Issue with calculating turn instructions with turn_costs=true[/-][+]Issue with calculating turn instructions with turn_costs=true and ch[/+]easbar commentedon Jan 29, 2020
Under what condition are you skipping the instructions?
boldtrn commentedon Jan 29, 2020
One important criteria for skipping instructions are the surrounding edges. If they seem like a turn alternative, then an instruction is created to make sure the is notified about the turn. If there are no alternatives an instruction can be skipped.
boldtrn commentedon Jan 29, 2020
Maybe I opened the issue too fast. I cannot reproduce the issue on my local master using:
I also tested with multiple vehicles:
But it does exist for the directions API. Maybe I am missing something? Or should we move this issue over to the directions API?
karussell commentedon Jan 29, 2020
Yes, this is a deployment problem and our edge-based setup is a bit older (we had an issue that we need to fix)