Changeset 13977 in josm


Ignore:
Timestamp:
2018-06-25T21:09:33+02:00 (6 months ago)
Author:
Don-vip
Message:

fix #16424 - ignore crossing=no from "pedestrian railway crossing without railway=crossing" check

File:
1 edited

Legend:

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

    r13471 r13977  
    127127}
    128128
    129 /* #11270, #9297, #15439 */
     129/* #11270, #9297, #15439, #16424 */
    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 }
    132132way[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 }
    133 node[railway!=crossing].is_in_railway.is_in_minor_road!.is_in_major_road {
     133node[railway!=crossing][crossing!=no].is_in_railway.is_in_minor_road!.is_in_major_road {
    134134  throwWarning: tr("pedestrian railway crossing without {0}", "{0.tag}");
    135135  group: tr("missing tag");
Note: See TracChangeset for help on using the changeset viewer.