From 19799848aa5cad858aa5f3df8f669b133bf37f65 Mon Sep 17 00:00:00 2001 From: Duane Gearhart Date: Thu, 19 Apr 2018 19:25:19 -0400 Subject: [PATCH] Do not combine a segregated edge with a roundabout --- src/engine/guidance/collapse_turns.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/guidance/collapse_turns.cpp b/src/engine/guidance/collapse_turns.cpp index be3680827..98404685b 100644 --- a/src/engine/guidance/collapse_turns.cpp +++ b/src/engine/guidance/collapse_turns.cpp @@ -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 // 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 if (bearingsAreReversed(