Add a speed for driveway to service speeds

This commit is contained in:
karenzshea 2016-10-14 15:05:30 -04:00 committed by Daniel J. Hofmann
parent 5617d3886d
commit f540485cb0
3 changed files with 8 additions and 3 deletions

View File

@ -4,11 +4,10 @@ Feature: Car - Surfaces
Background: Background:
Given the profile "car" Given the profile "car"
@todo
Scenario: Car - Surface should reduce speed Scenario: Car - Surface should reduce speed
Then routability should be Then routability should be
| highway | service | forw | backw | | highway | service | forw | backw |
| service | alley | 5 km/h +-1 | 5 km/h +-1 | | service | alley | 5 km/h +-1 | 5 km/h +-1 |
| service | emergency_access | | | | service | emergency_access | | |
| service | driveway | 15 km/h +-1| 15 km/h +-1 | | service | driveway | 5 km/h +-1 | 5 km/h +-1 |

View File

@ -42,7 +42,8 @@ speed_profile = {
-- service speeds -- service speeds
service_speeds = { service_speeds = {
["alley"] = 5, ["alley"] = 5,
["parking_aisle"] = 5 ["parking_aisle"] = 5,
["driveway"] = 5
} }
-- surface/trackype/smoothness -- surface/trackype/smoothness

View File

@ -19,6 +19,11 @@
"value": "parking_aisle", "value": "parking_aisle",
"object_types": [ "way" ] "object_types": [ "way" ]
}, },
{
"key": "service",
"value": "driveway",
"object_types": [ "way" ]
},
{ {
"key": "service", "key": "service",
"value": "alley", "value": "alley",