Changeset 6924 in josm


Ignore:
Timestamp:
2014-03-23T23:43:52+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #9845 - validator: fix "power line without voltage" test

File:
1 edited

Legend:

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

    r6548 r6924  
    11/* power related stuff (incomplete) */
    22
    3 *[power =~ /line|minor_line|cable/][!voltage],
     3*[power =~ /^(line|minor_line|cable)$/][!voltage],
    44*[substation][power!=substation],
    55*[transformer][!power] {
     
    77  assertMatch: "way power=line";
    88  assertNoMatch: "way power=line voltage=1";
     9  assertNoMatch: "way power=cable_distribution_cabinet";
    910}
    1011
Note: See TracChangeset for help on using the changeset viewer.