| 7 | |
| 8 | |
| 9 | {{{ |
| 10 | #!rule |
| 11 | /* 19603 */ |
| 12 | way[footway][highway][footway=sidewalk][highway!=footway][highway!=path][highway!=construction][highway!=cycleway] { |
| 13 | throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}"); |
| 14 | group: tr("suspicious tag combination"); |
| 15 | suggestAlternative: "sidewalk=left"; |
| 16 | suggestAlternative: "sidewalk=right"; |
| 17 | suggestAlternative: "sidewalk=both"; |
| 18 | } |
| 19 | /* 19603 */ |
| 20 | way[footway][highway][footway!=sidewalk][highway!=footway][highway!=path][highway!=construction][highway!=cycleway] |
| 21 | throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}"); |
| 22 | group: tr("suspicious tag combination"); |
| 23 | } |
| 24 | |
| 25 | /* 19603 */ |
| 26 | way[footway][!highway][!/:highway$/], |
| 27 | way[cycleway][!highway][!/:highway$/] { |
| 28 | throwWarning: tr("{0} without {1}", "{0.key}", "{1.key}"); |
| 29 | set MissingKeyWarning; |
| 30 | group: tr("missing tag"); |
| 31 | } |
| 32 | }}} |