Ignore:
Timestamp:
2016-02-19T19:03:05+01:00 (9 years ago)
Author:
Klumbumbus
Message:

fix #12422 - remove "lit on suspicious object" warning and replace by "incomplete object: only lit" warning

File:
1 edited

Legend:

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

    r9794 r9837  
    214214}
    215215
    216 /* only {0.key}, see #11104 */
     216/* only {0.key}, see #11104 #12422 */
    217217*[area][eval(number_of_tags()) = 1],
    218218*[name][eval(number_of_tags()) = 1],
    219 *[ref][eval(number_of_tags()) = 1] {
     219*[ref][eval(number_of_tags()) = 1],
     220*[lit][eval(number_of_tags()) = 1] {
    220221  throwWarning: tr("incomplete object: only {0}", "{0.key}");
    221222}
     
    262263*[psv     ][!highway][!railway][!waterway][amenity !~ /^parking.*/],
    263264*[width   ][!highway][!railway][!waterway][!aeroway][!cycleway][!footway][!barrier][!man_made][!entrance],
    264 *[maxspeed][!highway][!railway][traffic_sign !~ /^((.*;)?maxspeed(;.*)?|[A-Z][A-Z]:.+)$/][type != enforcement][waterway !~ /^(river|canal|lock)$/][!traffic_calming],
    265 *[lit     ][!highway][!railway][!piste:type][!amenity][public_transport!=platform][advertising!=billboard][!leisure][!tourism] {
     265*[maxspeed][!highway][!railway][traffic_sign !~ /^((.*;)?maxspeed(;.*)?|[A-Z][A-Z]:.+)$/][type != enforcement][waterway !~ /^(river|canal|lock)$/][!traffic_calming] {
    266266  throwWarning: tr("{0} on suspicious object", "{0.key}");
    267267}
Note: See TracChangeset for help on using the changeset viewer.