| | 9 | way!:closed[highway][layer][layer!=0][!bridge][!tunnel][!covered][highway!~/steps|elevator/], |
| | 10 | way!:closed[railway][layer][layer!=0][!bridge][!tunnel][!covered], |
| | 11 | way!:closed[waterway][layer][layer!=0][!bridge][!tunnel][!covered] { |
| | 12 | throwWarning: tr("inspect to confirm a {1} tag is necessary on this {0}. If so, add either {2}, {3}, {4} or any other tags complimentary to {5}", "{2.key}", "{3.key}", "{4.key}=*", "{5.key}=*", "{6.key}=*", "{3.key}=*"); |
| | 13 | group: tr("suspicious tag combination"); |
| | 14 | assertMatch: "way highway=tertiary layer=2"; |
| | 15 | assertMatch: "way waterway=stream layer=-1"; |
| | 16 | assertMatch: "way railway=rail layer=2"; |
| | 17 | assertNoMatch: "way highway=tertiary layer=2 bridge=yes"; |
| | 18 | assertNoMatch: "way waterway=stream layer=-1 tunnel=yes"; |
| | 19 | assertNoMatch: "way railway=rail layer=2 bridge=yes"; |
| | 20 | } |
| | 21 | |