Do not combine a segregated edge with a roundabout

This commit is contained in:
Duane Gearhart 2018-04-19 19:25:19 -04:00 committed by Michael Krasnyk
parent c4eff6cd65
commit 19799848aa
No known key found for this signature in database
GPG Key ID: 49C12AD0F43D2108

View File

@ -620,7 +620,8 @@ RouteSteps collapseSegregatedTurnInstructions(RouteSteps steps)
} }
// else if the current step is segregated and the next step is not then combine with turn // else if the current step is segregated and the next step is not then combine with turn
// adjustment // adjustment
else if (curr_step->is_segregated && !next_step->is_segregated) else if (curr_step->is_segregated && !next_step->is_segregated
&& !hasRoundaboutType(next_step->maneuver.instruction))
{ {
// Determine if u-turn // Determine if u-turn
if (bearingsAreReversed( if (bearingsAreReversed(