Changes between Version 1 and Version 2 of Rules/AddrRelationWarning


Ignore:
Timestamp:
2025-01-23T04:19:53+01:00 (12 months ago)
Author:
skyper
Comment:

fix rule, see #24078

Legend:

Unmodified
Added
Removed
Modified
  • Rules/AddrRelationWarning

    v1 v2  
    88    author: "gy-mate";
    99    link: "https://josm.openstreetmap.de/wiki/Rules/AddrRelationWarning";
    10     baselanguage: "en";
    1110}
    1211
    13 relation["type!=multipolygon"][~"^addr:.*"] {
    14     throwWarning: "addr:*=* tags cannot be used on relations!";
     12relation[type][type!~/^(multipolygon|site)$/][/^addr:./] {
     13  throwWarning: tr("{0} on a relation", "addr:*=*");
     14  group: tr("suspicious tag combination");
     15  assertMatch: "relation type=boundary addr:street=1";
     16  assertNoMatch: "relation type=multipolygon addr:street=1";
    1517}
    1618}}}