Skip to content

Commit

Permalink
Update TagFix_Area.py
Browse files Browse the repository at this point in the history
Add `area:highway` and `cemetery` as "default area=yes" tags

See #2103
  • Loading branch information
Famlam authored and frodrigo committed Dec 22, 2023
1 parent 440df1d commit 8fb0d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/TagFix_Area.py
Original file line number Diff line number Diff line change
Expand Up @@ -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', 'cemetery', '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`.'),
Expand Down

0 comments on commit 8fb0d60

Please sign in to comment.