Skip to content

Commit

Permalink
Add keys that are always area=yes or require area sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
Famlam authored and frodrigo committed Jan 1, 2024
1 parent 4a62702 commit ba12444
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/TagFix_Area.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ 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(('area:highway', 'boundary', 'building', 'cemetery', 'craft', 'geological', 'indoor', 'landuse', 'natural', 'office', 'place', 'shop'))
self.area_yes_good = set(('aerialway', 'aeroway', 'amenity', 'barrier', 'highway', 'historic', 'leisure', 'man_made', 'military', 'piste:type', 'playground', 'power', 'public_transport', 'sport', 'tourism', 'traffic_calming', 'waterway'))
self.area_yes_default = set(('area:highway', 'boundary', 'building', 'building:part', 'cemetery', 'club', 'craft', 'geological', 'healthcare', 'health_facility:type', '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 ba12444

Please sign in to comment.