diff --git a/features/guidance/dedicated-turn-roads.feature b/features/guidance/dedicated-turn-roads.feature index 3d095fa6c..deaa59b81 100644 --- a/features/guidance/dedicated-turn-roads.feature +++ b/features/guidance/dedicated-turn-roads.feature @@ -994,5 +994,5 @@ Feature: Slipways and Dedicated Turn Lanes When I route I should get - | waypoints | route | turns | locations | - | s,f | sabc,ae,dbef,dbef | depart,turn right,turn slight right,arrive | s,a,e,f | + | waypoints | route | turns | locations | + | s,f | sabc,dbef,dbef | depart,turn right,arrive | s,a,f | diff --git a/src/extractor/guidance/sliproad_handler.cpp b/src/extractor/guidance/sliproad_handler.cpp index 69e483606..2bb1c2a68 100644 --- a/src/extractor/guidance/sliproad_handler.cpp +++ b/src/extractor/guidance/sliproad_handler.cpp @@ -432,7 +432,9 @@ operator()(const NodeID /*nid*/, const EdgeID source_edge_id, Intersection inter continue; } - if (deviation_from_straight > perpendicular_angle) + // Check sliproads with skew main intersections + if (deviation_from_straight > perpendicular_angle && + !node_based_graph.GetEdgeData(sliproad.eid).road_classification.IsLinkClass()) { continue; }