Changes between Initial Version and Version 1 of Ticket #19603


Ignore:
Timestamp:
2020-08-01T08:26:26+02:00 (4 years ago)
Author:
Famlam
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19603 – Description

    initial v1  
    55
    66If not, then it might be worth adding a check for `footway=*` without `highway=*` tag (or prefixed `highway` keys)? [https://overpass-turbo.eu/s/WDM Overpass-turbo]
     7
     8
     9{{{
     10#!rule
     11/* 19603 */
     12way[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 */
     20way[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 */
     26way[footway][!highway][!/:highway$/],
     27way[cycleway][!highway][!/:highway$/] {
     28  throwWarning: tr("{0} without {1}", "{0.key}", "{1.key}");
     29  set MissingKeyWarning;
     30  group: tr("missing tag");
     31}
     32}}}