Changeset 6516 in josm for trunk/data/validator


Ignore:
Timestamp:
2013-12-23T19:01:10+01:00 (6 years ago)
Author:
simon04
Message:

fix #9468 - validator: allow highway=motorway_junction on nodes

File:
1 edited

Legend:

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

    r6513 r6516  
    1919}
    2020
    21 node[highway =~ /motorway*|trunk*|primary*|secondary*|tertiary*|unclassified|residential|service|living_street|pedestrian|track|path|footway/] {
     21node[highway =~ /motorway|trunk|primary|secondary|tertiary|unclassified|residential|service|living_street|pedestrian|track|path|footway/][highway!=motorway_junction][highway!=services] {
    2222  throwWarning: tr("wrong highway tag on a node");
    2323  assertMatch: "node highway=primary";
    2424  assertMatch: "node highway=primary_link";
     25  assertNoMatch: "node highway=traffic_calming";
     26  assertNoMatch: "node highway=bus_stop";
    2527  assertNoMatch: "node highway=crossing";
     28  assertNoMatch: "node highway=emergency_access_point";
     29  assertNoMatch: "node highway=give_way";
     30  assertNoMatch: "node highway=mini_roundabout";
     31  assertNoMatch: "node highway=motorway_junction";
     32  assertNoMatch: "node highway=passing_place";
     33  assertNoMatch: "node highway=rest_area";
     34  assertNoMatch: "node highway=speed_camera";
     35  assertNoMatch: "node highway=street_lamp";
     36  assertNoMatch: "node highway=services";
     37  assertNoMatch: "node highway=stop";
     38  assertNoMatch: "node highway=traffic_signals";
     39  assertNoMatch: "node highway=turning_circle";
    2640}
    2741
Note: See TracChangeset for help on using the changeset viewer.