Ignore:
Timestamp:
2017-10-16T20:49:43+02:00 (7 years ago)
Author:
Klumbumbus
Message:

fix #15439 - fine tune some validator rules (patch by nyurik)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/highway.mapcss

    r12895 r13005  
    8686}
    8787
    88 /* footway, see #10851, #10976 */
    89 way[footway=left][/footway:/],
    90 way[footway=right][/footway:/],
    91 way[footway=both][/footway:/],
    92 way[footway=no][/footway:/] {
     88/* footway, see #10851, #10976, #15439 */
     89way[footway=left][/^footway:/],
     90way[footway=right][/^footway:/],
     91way[footway=both][/^footway:/],
     92way[footway=no][/^footway:/] {
    9393  throwWarning: tr("{0} is deprecated, use {1} instead. Also check similar tags like {2}", "{0.tag}", "sidewalk", "{1.key}");
    9494  group: tr("deprecated tagging");
     
    127127}
    128128
    129 /* #11270, #9297 */
     129/* #11270, #9297, #15439 */
    130130way[railway =~ /^(light_rail|miniature|narrow_gauge|preserved|rail)$/][!highway] > node { set .is_in_railway }
    131131way[highway =~ /^(bridleway|cycleway|footway|path|steps)$/] > node { set .is_in_minor_road }
    132 way[highway =~ /^(bus_guideway|living_street|motorway|pedestrian|primary|raceway|residential|road|secondary|service|tertiary|track|trunk|unclassified)/] > node { set .is_in_major_road }
     132way[highway =~ /^(bus_guideway|living_street|motorway|motorway_link|pedestrian|primary|primary_link|raceway|residential|road|secondary|secondary_link|service|tertiary|tertiary_link|track|trunk|trunk_link|unclassified)$/] > node { set .is_in_major_road }
    133133node[railway!=crossing].is_in_railway.is_in_minor_road!.is_in_major_road {
    134134  throwWarning: tr("pedestrian railway crossing without {0}", "{0.tag}");
Note: See TracChangeset for help on using the changeset viewer.