[6548] | 1 | *[access][highway=proposed],
|
---|
[9541] | 2 | *[motor_vehicle?][vehicle!=no][access!=no][bicycle_road!=yes][highway =~ /motorway|trunk|primary|secondary|tertiary|unclassified|residential|service|living_street/],
|
---|
[6698] | 3 | *[bridge=no],
|
---|
[6788] | 4 | *[building=no],
|
---|
[6760] | 5 | *[elevation="0"],
|
---|
[6548] | 6 | *[layer="0"] {
|
---|
| 7 | /* see #9365 - Useless tag layer=0 */
|
---|
| 8 | throwWarning: tr("{0} is unnecessary", "{0.tag}");
|
---|
[11153] | 9 | group: tr("unnecessary tag");
|
---|
[6548] | 10 | fixRemove: "{0.key}";
|
---|
| 11 | assertMatch: "way layer=0";
|
---|
[6698] | 12 | assertMatch: "way bridge=no";
|
---|
[6548] | 13 | assertMatch: "way highway=proposed access=no";
|
---|
| 14 | }
|
---|
| 15 |
|
---|
[6876] | 16 | area:closed[amenity ][area?][!highway],
|
---|
[6778] | 17 | area:closed[building][area?],
|
---|
[6929] | 18 | area:closed[landuse ][area?][!highway],
|
---|
[6923] | 19 | area:closed[leisure ][area?][!highway],
|
---|
[6778] | 20 | area:closed[natural ][area?],
|
---|
| 21 | area:closed[shop ][area?] {
|
---|
| 22 | throwWarning: tr("{0} is unnecessary for {1}", "{2.key}", "{1.key}");
|
---|
[11153] | 23 | group: tr("unnecessary tag");
|
---|
[6778] | 24 | fixRemove: "{2.key}";
|
---|
| 25 | }
|
---|
| 26 |
|
---|
[11476] | 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 |
|
---|
[6548] | 35 | *[emergency=permissive] {
|
---|
| 36 | /* see #9458 - emergency=permissive makes no sense */
|
---|
[11146] | 37 | throwWarning: tr("{0} makes no sense", "{0.tag");
|
---|
[6548] | 38 | fixAdd: "emergency=yes";
|
---|
| 39 | assertMatch: "way emergency=permissive";
|
---|
| 40 | assertNoMatch: "way emergency=designated";
|
---|
| 41 | }
|
---|
[6629] | 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");
|
---|
[7258] | 46 | }
|
---|