Changes between Version 1 and Version 2 of Rules/AddrRelationWarning
- Timestamp:
- 2025-01-23T04:19:53+01:00 (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Rules/AddrRelationWarning
v1 v2 8 8 author: "gy-mate"; 9 9 link: "https://josm.openstreetmap.de/wiki/Rules/AddrRelationWarning"; 10 baselanguage: "en";11 10 } 12 11 13 relation["type!=multipolygon"][~"^addr:.*"] { 14 throwWarning: "addr:*=* tags cannot be used on relations!"; 12 relation[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"; 15 17 } 16 18 }}}
