Changeset 18369 in josm for trunk/resources/data/validator


Ignore:
Timestamp:
2022-02-09T15:37:52+01:00 (3 years ago)
Author:
stoecker
Message:

fix #21738, patch by skyper, add tag definition for members of type=building relations and update the valdator warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/relation.mapcss

    r18199 r18369  
    1010/* see also #9071 */
    1111relation[type=boundary][!boundary][!disused:boundary],
    12 relation[type=building][!building],
    1312relation[type=destination_sign][!destination],
    1413relation[type=enforcement][!enforcement],
     
    6766  throwWarning: tr("way with {0} is part of a {1} route relation", "{0.tag}", "{0.key}");
    6867}
     68
     69/* #21285, #21738 */
     70relation[type=building][building] >[role=outline] *[building][parent_tag(building) != tag(building)] {
     71  throwWarning: tr("{0} of {1} member and {0} relation differ", "{0.key}", "outline");
     72  group: tr("suspicious tag combination");
     73}
Note: See TracChangeset for help on using the changeset viewer.