2012-09-30 08:40:59 -04:00
|
|
|
@routing @car @barrier
|
2012-10-01 07:27:08 -04:00
|
|
|
Feature: Car - Barriers
|
2012-09-30 08:40:59 -04:00
|
|
|
|
2013-08-29 13:29:13 -04:00
|
|
|
Background:
|
|
|
|
Given the profile "car"
|
2012-09-30 08:40:59 -04:00
|
|
|
|
2013-08-29 13:29:13 -04:00
|
|
|
Scenario: Car - Barriers
|
|
|
|
Then routability should be
|
|
|
|
| node/barrier | bothw |
|
|
|
|
| | x |
|
|
|
|
| bollard | |
|
|
|
|
| gate | x |
|
2015-01-09 13:15:00 -05:00
|
|
|
| lift_gate | x |
|
2013-08-29 13:29:13 -04:00
|
|
|
| cattle_grid | x |
|
|
|
|
| border_control | x |
|
|
|
|
| toll_booth | x |
|
|
|
|
| sally_port | x |
|
|
|
|
| entrance | x |
|
|
|
|
| wall | |
|
|
|
|
| fence | |
|
|
|
|
| some_tag | |
|
2015-09-07 06:20:50 -04:00
|
|
|
| block | |
|
2012-10-03 13:04:56 -04:00
|
|
|
|
2013-08-29 13:29:13 -04:00
|
|
|
Scenario: Car - Access tag trumphs barriers
|
|
|
|
Then routability should be
|
|
|
|
| node/barrier | node/access | bothw |
|
|
|
|
| gate | | x |
|
|
|
|
| gate | yes | x |
|
|
|
|
| gate | permissive | x |
|
|
|
|
| gate | designated | x |
|
|
|
|
| gate | no | |
|
2017-02-14 06:59:16 -05:00
|
|
|
| gate | private | x |
|
2013-08-29 13:29:13 -04:00
|
|
|
| gate | agricultural | |
|
|
|
|
| wall | | |
|
|
|
|
| wall | yes | x |
|
|
|
|
| wall | permissive | x |
|
|
|
|
| wall | designated | x |
|
|
|
|
| wall | no | |
|
2017-02-14 06:59:16 -05:00
|
|
|
| wall | private | x |
|
2013-08-29 13:29:13 -04:00
|
|
|
| wall | agricultural | |
|
2015-08-25 08:46:05 -04:00
|
|
|
|
|
|
|
Scenario: Car - Rising bollard exception for barriers
|
|
|
|
Then routability should be
|
|
|
|
| node/barrier | node/bollard | bothw |
|
|
|
|
| bollard | | |
|
|
|
|
| bollard | rising | x |
|
|
|
|
| bollard | removable | |
|
2018-02-12 03:02:20 -05:00
|
|
|
|
2021-03-30 19:28:01 -04:00
|
|
|
# https://github.com/Project-OSRM/osrm-backend/issues/5996
|
|
|
|
Scenario: Car - Kerb exception for barriers
|
|
|
|
Then routability should be
|
|
|
|
| node/barrier | node/highway | node/kerb | bothw |
|
|
|
|
| kerb | | | |
|
|
|
|
| kerb | crossing | | x |
|
|
|
|
| kerb | crossing | yes | x |
|
|
|
|
| kerb | | lowered | x |
|
|
|
|
| kerb | | flush | x |
|
|
|
|
| kerb | | raised | |
|
|
|
|
| kerb | | yes | |
|
|
|
|
|
2018-02-12 03:02:20 -05:00
|
|
|
Scenario: Car - Height restrictions
|
|
|
|
Then routability should be
|
|
|
|
| node/barrier | node/maxheight | bothw |
|
|
|
|
| height_restrictor | | x |
|
|
|
|
| height_restrictor | 1 | |
|
|
|
|
| height_restrictor | 3 | x |
|
|
|
|
| height_restrictor | default | x |
|