Changeset 15110 in josm


Ignore:
Timestamp:
2019-05-25T18:29:52+02:00 (5 months ago)
Author:
Klumbumbus
Message:

fix #17644 - warn about power=plant together with generator:*=* and power=generator together with plant:*=*

File:
1 edited

Legend:

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

    r15094 r15110  
    223223}
    224224
    225 /* {0.tag} together with {1.key}, see #17707, #16464, #10837, #14034, #9389, #11977, #13156, #16888 */
     225/* {0.tag} together with {1.key}, see #17664, #17707, #16464, #10837, #14034, #9389, #11977, #13156, #16888 */
     226*[power=plant][/^generator:/],
     227*[power=generator][/^plant:/],
    226228*[power=plant][voltage],
    227229*[power=plant][frequency],
     
    237239  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.key}");
    238240  group: tr("suspicious tag combination");
     241  assertMatch: "way power=plant generator:source=wind";
     242  assertMatch: "way power=generator plant:source=combustion";
    239243}
    240244
Note: See TracChangeset for help on using the changeset viewer.