Changeset 9415 in josm for trunk/data/validator


Ignore:
Timestamp:
2016-01-11T22:57:48+01:00 (4 years ago)
Author:
Klumbumbus
Message:

fix #12340 - support traffic_sign=countrycode:signcode in addition to traffic_sign=maxspeed in maxspeed on suspicious object validator test

File:
1 edited

Legend:

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

    r9386 r9415  
    242242*[psv     ][!highway][!railway][!waterway][amenity !~ /^parking.*/],
    243243*[width   ][!highway][!railway][!waterway][!aeroway][!cycleway][!footway][!barrier][!man_made][!entrance],
    244 *[maxspeed][!highway][!railway][traffic_sign !~ /^(.*;)?maxspeed(;.*)?$/][type != enforcement][waterway !~ /^(river|canal|lock)$/][!traffic_calming],
     244*[maxspeed][!highway][!railway][traffic_sign !~ /^((.*;)?maxspeed(;.*)?|[A-Z][A-Z]:.+)$/][type != enforcement][waterway !~ /^(river|canal|lock)$/][!traffic_calming],
    245245*[lit     ][!highway][!railway][!piste:type][!amenity][public_transport!=platform][advertising!=billboard][!leisure][!tourism] {
    246246  throwWarning: tr("{0} on suspicious object", "{0.key}");
Note: See TracChangeset for help on using the changeset viewer.