/srv/osrm/osrm-backend/features/guidance
NameSizeModeActions
advanced-lanes.feature125330644editdlrm
anticipate-lanes.feature503520644editdlrm
bicycle-sliproads.feature10430644editdlrm
bike-staggered-intersections.feature56420644editdlrm
bridges_and_tunnels.feature66380644editdlrm
bugs.feature34710644editdlrm
circular.feature18940644editdlrm
collapse-detail.feature67180644editdlrm
collapse-ferry.feature63970644editdlrm
collapse.feature494430644editdlrm
continue.feature62400644editdlrm
dedicated-turn-roads.feature444350644editdlrm
destination-signs.feature34970644editdlrm
directional-destination-signs.feature37390644editdlrm
directional-ref-destination-signs.feature34660644editdlrm
divided-highways.feature45760644editdlrm
driveway.feature20670644editdlrm
end-of-road.feature76840644editdlrm
exit-numbers-names.feature41540644editdlrm
fork.feature119070644editdlrm
internal-intersections.feature30800644editdlrm
intersections.feature54620644editdlrm
low-priority.feature33820644editdlrm
maneuver-tag.feature137840644editdlrm
merge-segregated-roads.feature333730644editdlrm
merge.feature40550644editdlrm
motorway.feature122090644editdlrm
new-name.feature128190644editdlrm
notification.feature23410644editdlrm
obvious-turn-discovery.feature413050644editdlrm
perception.feature44920644editdlrm
post-processing.feature8280644editdlrm
ramp.feature84840644editdlrm
rotary.feature112660644editdlrm
roundabout-bike.feature39540644editdlrm
roundabout-left-sided.feature20660644editdlrm
roundabout-turn-bike.feature21570644editdlrm
roundabout-turn.feature256960644editdlrm
roundabout.feature443950644editdlrm
staggered-intersections.feature54300644editdlrm
suffix-changes.feature34200644editdlrm
suppressed.feature22090644editdlrm
trimming.feature6750644editdlrm
turn-angles.feature651400644editdlrm
turn-lanes.feature648250644editdlrm
turn-location.feature6230644editdlrm
turn.feature481820644editdlrm
Edit: /srv/osrm/osrm-backend/features/guidance/collapse-ferry.feature (6397B)
@routing @guidance @collapsing Feature: Collapse Background: Given the profile "car" Given a grid size of 20 meters Scenario: Collapse Steps While On Ferry Given the node map """ j----a---c---b----k ~ ~ ~ ~ ~ ~ ~~~ d ~ ~ ~ e --- f """ And the ways | nodes | highway | route | name | | jacbk | primary | | land | | ad | | ferry | sea | | bd | | ferry | sea | | cd | | ferry | sea | | de | | ferry | sea | | ef | primary | | pennydog-island | When I route I should get | waypoints | route | turns | modes | locations | | f,j | pennydog-island,sea,land,land | depart,notification right,turn left,arrive | driving,ferry,driving,driving | f,e,b,j | Scenario: Switching Ferry in a Harbour Given the node map """ d | | | e - a ~ ~ ~ ~ b ~ ~ ~ c | f """ And the ways | nodes | highway | route | name | | ea | primary | | melee-island | | ab | | ferry | melee-island-ferry | | cf | primary | | monkey-island | | bd | primary | | scabb-island | | bc | primary | ferry | monkey-island-ferry | When I route I should get | waypoints | route | turns | modes | | e,f | melee-island,melee-island-ferry,monkey-island-ferry,monkey-island,monkey-island | depart,notification straight,turn right,notification straight,arrive | driving,ferry,ferry,driving,driving | Scenario: End of Road Ferries Given the node map """ a - b ~ ~ ~ ~ c ~ ~ ~ ~ ~ d - e ~ ~ ~ ~ ~ ~ ~ f | g """ And the ways | nodes | highway | route | name | | ab | primary | | land-left | | de | primary | | land-right | | gf | primary | | land-bottom | | bcd | | ferry | ferry | | fc | | ferry | ferry | When I route I should get | waypoints | route | turns | | g,e | land-bottom,ferry,land-right,land-right | depart,notification straight,notification straight,arrive | Scenario: Fork Ferries Given the node map """ a - b d - e ~ ~ ~ ~ ~ ~ ~ ~ c ~ ~ ~ f | g """ And the ways | nodes | highway | route | name | | ab | primary | | land-left | | de | primary | | land-right | | gf | primary | | land-bottom | | cb | | ferry | ferry | | cd | | ferry | ferry | | fc | | ferry | ferry | When I route I should get | waypoints | route | turns | | g,e | land-bottom,ferry,land-right,land-right | depart,notification straight,notification right,arrive | @negative Scenario: Don't Detect Suppressed/Obvious Forks on Ferries Given the node map """ . . . . . . . . .d a - b ~ ~ ~ ~ ~ c < ' ' ' ' ' ' ' ' 'e """ And the ways | nodes | highway | route | name | | ab | primary | | cursed-island | | bc | | ferry | beagle | | cd | service | | forker | | ce | primary | | screw-me-not | #the turns here could be better, but intersection classification shows you if you go left or right. But we cannot fork here When I route I should get | waypoints | route | turns | | a,d | cursed-island,beagle,forker,forker | depart,notification straight,turn straight,arrive | | a,e | cursed-island,beagle,screw-me-not,screw-me-not | depart,notification straight,turn straight,arrive | @uturn @dead-end @ferry @via Scenario: U-Turn on a dead-end ferry Given the node map """ a - 1 - b ~ ~ ~ ~ ~ ~ ~ c """ And the ways | nodes | highway | route | name | | ab | primary | | land | | bc | | ferry | sea | # we actually cannot check the route here, since two possible routes are equally valid: # (ab)(bcb1) and (abcb)(b1) are exactly the same. Luckily, we only want to check for # not asserting here. When I route I should get | waypoints | | a,b,1 |