1 | *[access][highway=proposed],
|
---|
2 | *[motor_vehicle?][vehicle!=no][access!=no][bicycle_road!=yes][highway =~ /motorway|trunk|primary|secondary|tertiary|unclassified|residential|service|living_street/],
|
---|
3 | *[bridge=no],
|
---|
4 | *[building=no],
|
---|
5 | *[elevation="0"],
|
---|
6 | *[layer="0"] {
|
---|
7 | /* see #9365 - Useless tag layer=0 */
|
---|
8 | throwWarning: tr("{0} is unnecessary", "{0.tag}");
|
---|
9 | group: tr("unnecessary tag");
|
---|
10 | fixRemove: "{0.key}";
|
---|
11 | assertMatch: "way layer=0";
|
---|
12 | assertMatch: "way bridge=no";
|
---|
13 | assertMatch: "way highway=proposed access=no";
|
---|
14 | }
|
---|
15 |
|
---|
16 | area:closed[amenity ][area?][!highway],
|
---|
17 | area:closed[building][area?],
|
---|
18 | area:closed[landuse ][area?][!highway],
|
---|
19 | area:closed[leisure ][area?][!highway],
|
---|
20 | area:closed[natural ][area?],
|
---|
21 | area:closed[shop ][area?] {
|
---|
22 | throwWarning: tr("{0} is unnecessary for {1}", "{2.key}", "{1.key}");
|
---|
23 | group: tr("unnecessary tag");
|
---|
24 | fixRemove: "{2.key}";
|
---|
25 | }
|
---|
26 |
|
---|
27 | /* #14256 */
|
---|
28 | area:closed[aeroway=aerodrome][area?],
|
---|
29 | area:closed[aeroway=helipad][area?] {
|
---|
30 | throwWarning: tr("{0} is unnecessary for {1}", "{2.key}", "{1.tag}");
|
---|
31 | group: tr("unnecessary tag");
|
---|
32 | fixRemove: "{2.key}";
|
---|
33 | }
|
---|
34 |
|
---|
35 | *[emergency=permissive] {
|
---|
36 | /* see #9458 - emergency=permissive makes no sense */
|
---|
37 | throwWarning: tr("{0} makes no sense", "{0.tag");
|
---|
38 | fixAdd: "emergency=yes";
|
---|
39 | assertMatch: "way emergency=permissive";
|
---|
40 | assertNoMatch: "way emergency=designated";
|
---|
41 | }
|
---|
42 |
|
---|
43 | /* see ticket #7639 -- Warn when a node has the same tags as its parent way. */
|
---|
44 | way >:sameTags node:tagged {
|
---|
45 | throwWarning: tr("Nodes duplicating parent way tags");
|
---|
46 | }
|
---|