Ignore:
Timestamp:
2016-10-18T20:32:20+02:00 (3 years ago)
Author:
Klumbumbus
Message:

see #13804 - a bit more grouping in the validator tree, small adjustments to a few validator rules

File:
1 edited

Legend:

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

    r11139 r11146  
    5555way.major_road[!ref] {
    5656  throwOther: tr("highway without a reference");
     57  group: tr("missing tag");
    5758  assertMatch: "way highway=primary";
    5859  assertNoMatch: "way highway=primary ref=123";
     
    120121way[highway =~ /^(bridleway|cycleway|footway|path|steps)$/] > node[railway != crossing].is_in_railway {
    121122  throwWarning: tr("pedestrian railway crossing without {0}", "{0.tag}");
     123  group: tr("missing tag");
    122124  fixAdd: "railway=crossing";
    123125}
    124126way[highway =~ /^(bus_guideway|living_street|motorway|pedestrian|primary|raceway|residential|road|secondary|service|tertiary|track|trunk|unclassified)/] > node[railway != level_crossing].is_in_railway {
    125127  throwWarning: tr("railway crossing without {0}", "{0.tag}");
     128  group: tr("missing tag");
    126129  fixAdd: "railway=level_crossing";
    127130}
Note: See TracChangeset for help on using the changeset viewer.