From aeb16173b6d41f1aac16a85fba30d7c77937f8d9 Mon Sep 17 00:00:00 2001 From: Famlam Date: Sun, 17 Dec 2023 19:10:19 +0100 Subject: [PATCH] Add `area:highway` as "default area=yes" tag See #2103 --- plugins/TagFix_Area.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/TagFix_Area.py b/plugins/TagFix_Area.py index 254a4884b..92eb823a7 100644 --- a/plugins/TagFix_Area.py +++ b/plugins/TagFix_Area.py @@ -28,7 +28,7 @@ class TagFix_Area(Plugin): def init(self, logger): Plugin.init(self, logger) self.area_yes_good = set(('aerialway', 'aeroway', 'amenity', 'barrier', 'highway', 'historic', 'leisure', 'man_made', 'military', 'playground', 'power', 'public_transport', 'sport', 'tourism', 'traffic_calming', 'waterway')) - self.area_yes_default = set(('boundary', 'building', 'craft', 'geological', 'indoor', 'landuse', 'natural', 'office', 'place', 'shop')) + self.area_yes_default = set(('area:highway', 'boundary', 'building', 'craft', 'geological', 'indoor', 'landuse', 'natural', 'office', 'place', 'shop')) self.errors[32002] = self.def_class(item = 3200, level = 3, tags = ['tag', 'fix:chair'], title = T_('Untagged area object'), detail = T_('The object is missing any tag which defines what kind of feature it is. This is unexpected for something tagged with `area=yes`.'),