From 8c07e9349c13c42104e3dd8cc83402bb4e038ec2 Mon Sep 17 00:00:00 2001 From: Tobias Date: Mon, 22 Jan 2024 16:30:13 +0100 Subject: [PATCH] Roads: Fix `service_uncategorized` vs. `service_road` --- .../roads_bikelanes/roadClassification/RoadClassification.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/process/roads_bikelanes/roadClassification/RoadClassification.lua b/app/process/roads_bikelanes/roadClassification/RoadClassification.lua index 817fd11d..b684069f 100644 --- a/app/process/roads_bikelanes/roadClassification/RoadClassification.lua +++ b/app/process/roads_bikelanes/roadClassification/RoadClassification.lua @@ -50,11 +50,11 @@ function RoadClassification(object) driveway = 'service_driveway', parking_isle = 'service_parking_aisle' } - -- Fallback: + -- Fallbacks: roadClassification.road = service_mapping[tags.service] or 'service_uncategorized' -- https://taginfo.openstreetmap.org/keys/service#values if tags.service == nil then - tags.category = "service_road" + roadClassification.road = "service_road" end end