[6548] | 1 | *[access][highway=proposed],
|
---|
[13005] | 2 | *[motor_vehicle?][vehicle!=no][access!=no][bicycle_road!=yes][highway =~ /^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|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],
|
---|
[13302] | 19 | area:closed[leisure ][area?][!highway][leisure!=track][leisure!=slipway],
|
---|
[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 |
|
---|
[13377] | 27 | /* #14256, #15664 */
|
---|
| 28 | area:closed[highway=rest_area][area?],
|
---|
| 29 | area:closed[highway=services][area?],
|
---|
[11476] | 30 | area:closed[aeroway=aerodrome][area?],
|
---|
| 31 | area:closed[aeroway=helipad][area?] {
|
---|
| 32 | throwWarning: tr("{0} is unnecessary for {1}", "{2.key}", "{1.tag}");
|
---|
| 33 | group: tr("unnecessary tag");
|
---|
| 34 | fixRemove: "{2.key}";
|
---|
| 35 | }
|
---|
| 36 |
|
---|
[6548] | 37 | *[emergency=permissive] {
|
---|
| 38 | /* see #9458 - emergency=permissive makes no sense */
|
---|
[11146] | 39 | throwWarning: tr("{0} makes no sense", "{0.tag");
|
---|
[6548] | 40 | fixAdd: "emergency=yes";
|
---|
| 41 | assertMatch: "way emergency=permissive";
|
---|
| 42 | assertNoMatch: "way emergency=designated";
|
---|
| 43 | }
|
---|
[6629] | 44 |
|
---|
| 45 | /* see ticket #7639 -- Warn when a node has the same tags as its parent way. */
|
---|
| 46 | way >:sameTags node:tagged {
|
---|
| 47 | throwWarning: tr("Nodes duplicating parent way tags");
|
---|
[7258] | 48 | }
|
---|
[13075] | 49 |
|
---|
| 50 | /* #15477 */
|
---|
| 51 | *[payment:cash][payment:coins][payment:notes] {
|
---|
| 52 | throwWarning: tr("{0} together with {1} and {2}. Remove {0}.", "{0.key}", "{1.key}", "{2.key}");
|
---|
| 53 | group: tr("unnecessary tag");
|
---|
| 54 | fixRemove: "payment:cash";
|
---|
[13378] | 55 | }
|
---|
| 56 |
|
---|
| 57 | /* see #10346, #15667 */
|
---|
| 58 | way[waterway][oneway?] {
|
---|
| 59 | throwWarning: tr("{0} is unnecessary for {1}", "{1.key}", "{0.key}");
|
---|
| 60 | group: tr("unnecessary tag");
|
---|
| 61 | fixRemove: "{1.key}";
|
---|
| 62 | }
|
---|
| 63 | way[waterway][oneway=-1] {
|
---|
| 64 | throwWarning: tr("{0} is unnecessary for {1}. The flow direction is defined by the way direction.", "{1.key}", "{0.key}");
|
---|
| 65 | group: tr("unnecessary tag");
|
---|
[13075] | 66 | }
|
---|