From f540485cb085391448f66eccb68ef5dfc79b3aaf Mon Sep 17 00:00:00 2001 From: karenzshea Date: Fri, 14 Oct 2016 15:05:30 -0400 Subject: [PATCH] Add a speed for driveway to service speeds --- features/car/service.feature | 3 +-- profiles/car.lua | 3 ++- taginfo.json | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/features/car/service.feature b/features/car/service.feature index b5f359748..4ccc203d2 100644 --- a/features/car/service.feature +++ b/features/car/service.feature @@ -4,11 +4,10 @@ Feature: Car - Surfaces Background: Given the profile "car" - @todo Scenario: Car - Surface should reduce speed Then routability should be | highway | service | forw | backw | | service | alley | 5 km/h +-1 | 5 km/h +-1 | | service | emergency_access | | | - | service | driveway | 15 km/h +-1| 15 km/h +-1 | + | service | driveway | 5 km/h +-1 | 5 km/h +-1 | diff --git a/profiles/car.lua b/profiles/car.lua index d97239f16..a65844d74 100644 --- a/profiles/car.lua +++ b/profiles/car.lua @@ -42,7 +42,8 @@ speed_profile = { -- service speeds service_speeds = { ["alley"] = 5, - ["parking_aisle"] = 5 + ["parking_aisle"] = 5, + ["driveway"] = 5 } -- surface/trackype/smoothness diff --git a/taginfo.json b/taginfo.json index b03a8eb17..60aa483f6 100644 --- a/taginfo.json +++ b/taginfo.json @@ -19,6 +19,11 @@ "value": "parking_aisle", "object_types": [ "way" ] }, + { + "key": "service", + "value": "driveway", + "object_types": [ "way" ] + }, { "key": "service", "value": "alley",