better handling of access and barrier tags
This commit is contained in:
@@ -5,30 +5,30 @@ Feature: Max speed restrictions
|
||||
Given the speedprofile "car"
|
||||
Given a grid size of 1000 meters
|
||||
|
||||
Scenario: Car - Maxspeed below profile speed of way type
|
||||
Scenario: Car - Respect maxspeeds when lower that way type speed
|
||||
Given the node map
|
||||
| a | b | c |
|
||||
|
||||
And the ways
|
||||
| nodes | highway | maxspeed |
|
||||
| ab | motorway | |
|
||||
| bc | motorway | 10 |
|
||||
| ab | trunk | |
|
||||
| bc | trunk | 10 |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | time |
|
||||
| a | b | ab | 40s ~10% |
|
||||
| a | b | ab | 42s ~10% |
|
||||
| b | c | bc | 360s ~10% |
|
||||
|
||||
Scenario: Car - Maxspeed above profile speed of way type
|
||||
Scenario: Car - Use maxspeed when higher that way type speed
|
||||
Given the node map
|
||||
| a | b | c |
|
||||
|
||||
And the ways
|
||||
| nodes | highway | maxspeed |
|
||||
| ab | residential | |
|
||||
| bc | residential | 50 |
|
||||
| bc | residential | 85 |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | time |
|
||||
| a | b | ab | 145s ~10% |
|
||||
| b | c | bc | 145s ~10% |
|
||||
| a | b | ab | 144s ~10% |
|
||||
| b | c | bc | 42s ~10% |
|
||||
|
||||
Reference in New Issue
Block a user