Changeset 9903 in josm for trunk/data


Ignore:
Timestamp:
2016-02-29T23:15:04+01:00 (3 years ago)
Author:
Don-vip
Message:

fix #12578 - Take pipeline substations into account when validating substation=* tag

File:
1 edited

Legend:

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

    r9837 r9903  
    9393
    9494/* {0.key} without {1.tag} */
    95 *[substation                   ][power!=substation],
    9695*[transformer                  ][!power],
    9796*[fence_type                   ][barrier!=fence],
     
    105104*[artwork_type                 ][tourism!=artwork],
    106105*[castle_type                  ][historic!=castle],
    107 *[reservoir_type               ][landuse!=reservoir][water!=reservoir],
    108106*[bridge:movable               ][bridge!=movable],
    109107*[parking                      ][amenity!~/^(parking|parking_space|parking_entrance|motorcycle_parking)$/],
     
    111109*[bunker_type                  ][military!=bunker] {
    112110  throwWarning: tr("{0} without {1}", "{0.key}", "{1.tag}");
     111}
     112
     113/* {0.key} without {1.tag} or {2.tag} */
     114*[substation                   ][power!=substation][pipeline!=substation],
     115*[reservoir_type               ][landuse!=reservoir][water!=reservoir] {
     116  throwWarning: tr("{0} without {1} or {2}", "{0.key}", "{1.tag}", "{2.tag}");
    113117}
    114118
Note: See TracChangeset for help on using the changeset viewer.