Ignore:
Timestamp:
2016-09-24T19:25:18+02:00 (8 years ago)
Author:
Klumbumbus
Message:

adjust some validator rules

File:
1 edited

Legend:

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

    r9839 r11049  
    1717}
    1818
    19 node[highway =~ /motorway|trunk|primary|secondary|tertiary|unclassified|residential|service|living_street|pedestrian|track|path|footway|cycleway|bus_guideway|bridleway/][highway!=motorway_junction][highway!=services] {
     19node[highway =~ /motorway|trunk|primary|secondary|tertiary|unclassified|residential|service|living_street|pedestrian|track|path|footway|cycleway|bus_guideway|bridleway/] {
    2020  throwWarning: tr("wrong highway tag on a node");
    2121  assertMatch: "node highway=primary";
     
    109109way[footway][footway!=sidewalk][footway!=crossing]!.footway_to_sidewalk { /* do not trigger this rule if already one of the two previous rules applied */
    110110  throwWarning: tr("Value of ''{0}'' should either be ''{1}'' or ''{2}''. For sidewalks use ''{3}'' instead.", "{0.key}", "{1.value}", "{2.value}", "sidewalk=left|right|both|no");
     111  assertNoMatch: "way footway=left";
     112  assertNoMatch: "way footway=none";
     113  assertMatch: "way footway=bar";
    111114}
    112115
Note: See TracChangeset for help on using the changeset viewer.