Adjust lower bound for crossroad angle in sliproads handler, #4348/2
This commit is contained in:
parent
a5efcfdede
commit
a8db269fd5
@ -994,5 +994,5 @@ Feature: Slipways and Dedicated Turn Lanes
|
|||||||
|
|
||||||
|
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| waypoints | route | turns | locations |
|
| waypoints | route | turns | locations |
|
||||||
| s,f | sabc,ae,dbef,dbef | depart,turn right,turn slight right,arrive | s,a,e,f |
|
| s,f | sabc,dbef,dbef | depart,turn right,arrive | s,a,f |
|
||||||
|
@ -432,7 +432,9 @@ operator()(const NodeID /*nid*/, const EdgeID source_edge_id, Intersection inter
|
|||||||
continue;
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user