From ee4fb89336fd6774bd1510ac82963eadf2e945d2 Mon Sep 17 00:00:00 2001 From: "Daniel J. Hofmann" Date: Mon, 17 Oct 2016 16:07:51 -0700 Subject: [PATCH] Adds missing routable service tags http://taginfo.openstreetmap.org/keys/service#values --- features/car/service.feature | 3 ++- profiles/car.lua | 6 ++++-- taginfo.json | 10 ++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/features/car/service.feature b/features/car/service.feature index 4ccc203d2..9bd65846e 100644 --- a/features/car/service.feature +++ b/features/car/service.feature @@ -10,4 +10,5 @@ Feature: Car - Surfaces | service | alley | 5 km/h +-1 | 5 km/h +-1 | | service | emergency_access | | | | service | driveway | 5 km/h +-1 | 5 km/h +-1 | - + | service | drive-through | 5 km/h +-1 | 5 km/h +-1 | + | service | parking | 5 km/h +-1 | 5 km/h +-1 | diff --git a/profiles/car.lua b/profiles/car.lua index a65844d74..f51b51396 100644 --- a/profiles/car.lua +++ b/profiles/car.lua @@ -10,7 +10,7 @@ access_tag_whitelist = { ["yes"] = true, ["motorcar"] = true, ["motor_vehicle"] access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true, ["emergency"] = true, ["psv"] = true, ["delivery"] = true } access_tag_restricted = { ["destination"] = true, ["delivery"] = true } access_tags_hierarchy = { "motorcar", "motor_vehicle", "vehicle", "access" } -service_tag_restricted = { ["parking_aisle"] = true } +service_tag_restricted = { ["parking_aisle"] = true, ["parking"] = true } service_tag_forbidden = { ["emergency_access"] = true } restrictions = { "motorcar", "motor_vehicle", "vehicle" } @@ -42,8 +42,10 @@ speed_profile = { -- service speeds service_speeds = { ["alley"] = 5, + ["parking"] = 5, ["parking_aisle"] = 5, - ["driveway"] = 5 + ["driveway"] = 5, + ["drive-through"] = 5 } -- surface/trackype/smoothness diff --git a/taginfo.json b/taginfo.json index 60aa483f6..8b6014025 100644 --- a/taginfo.json +++ b/taginfo.json @@ -34,6 +34,16 @@ "value": "emergency_access", "object_types": [ "way" ] }, + { + "key": "service", + "value": "drive-through", + "object_types": [ "way" ] + }, + { + "key": "service", + "value": "parking", + "object_types": [ "way" ] + }, { "key": "oneway", "value": "true",