diff --git a/resources/data/validator/geometry.mapcss b/resources/data/validator/geometry.mapcss
index a2fd445c5e..99d7b3ef8b 100644
|
a
|
b
|
way:closed[power=minor_line] {
|
| 154 | 154 | throwWarning: tr("{0} on a closed way. Should be used on an unclosed way.", "{1.tag}"); |
| 155 | 155 | } |
| 156 | 156 | |
| | 157 | /* amenity=bench on a closed way is ambiguous (linear loop vs seating platform area) */ |
| | 158 | way:closed[amenity=bench][area!=yes][area!=no] { |
| | 159 | throwWarning: tr("amenity=bench on a closed way is ambiguous. Specify area=yes for a seating platform area or area=no for a linear bench loop"); |
| | 160 | } |
| | 161 | |
| 157 | 162 | /* #20902 */ |
| 158 | 163 | relation[area?] { |
| 159 | 164 | throwWarning: tr("{0} on a relation", "{0.key}"); |
diff --git a/resources/data/validator/unnecessary.mapcss b/resources/data/validator/unnecessary.mapcss
index ac9f182191..0773914663 100644
|
a
|
b
|
way:closed[boundary][area?],
|
| 24 | 24 | way:closed[indoor ][area?][!highway][indoor!=no], |
| 25 | 25 | way:closed[office ][area?], |
| 26 | 26 | way:closed[place ][area?][!highway], |
| 27 | | way:closed[amenity ][area?][!highway], |
| | 27 | way:closed[amenity ][area?][!highway][amenity!=bench], |
| 28 | 28 | way:closed[building][area?], |
| 29 | 29 | way:closed[landuse ][area?][!highway], |
| 30 | 30 | way:closed[leisure ][area?][!highway][leisure!=track][leisure!=slipway], |