Adjust lower bound for crossroad angle in sliproads handler, #4348/2

This commit is contained in:
Michael Krasnyk
2017-08-03 09:29:36 +02:00
parent a5efcfdede
commit a8db269fd5
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -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;
}