wiki:Rules/AddrRelationWarning

Version 2 (modified by skyper, 11 months ago) ( diff )

fix rule, see #24078

addr:*=* on relations warning

meta {
    title: "addr:*=* on relations warning";
    version: "1.4_2025-01-23";
    author: "gy-mate";
    link: "https://josm.openstreetmap.de/wiki/Rules/AddrRelationWarning";
}

relation[type][type!~/^(multipolygon|site)$/][/^addr:./] {
  throwWarning: tr("{0} on a relation", "addr:*=*");
  group: tr("suspicious tag combination");
  assertMatch: "relation type=boundary addr:street=1";
  assertNoMatch: "relation type=multipolygon addr:street=1";
}

Rules_AddrRelationWarning.validator.mapcss, Rules_AddrRelationWarning.zip

Note: See TracWiki for help on using the wiki.