Changeset 11548 in josm for trunk/data/validator
- Timestamp:
- 2017-02-09T22:20:37+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/combinations.mapcss
r11529 r11548 260 260 } 261 261 262 /* #9811, #11491, #12865 */ 263 *[place][place!=farm][/^addr:/], 262 /* #9811, #11491, #12865, #14310 */ 263 *[place][place!=farm][/^(addr:housenumber|addr:housename|addr:flats|addr:conscriptionnumber|addr:street|addr:place|addr:city|addr:country|addr:full|addr:hamlet|addr:suburb|addr:subdistrict|addr:district|addr:province|addr:state|addr:interpolation|addr:interpolation|addr:inclusion)$/], 264 /* addr:postcode is used together with place in some countries */ 264 265 *[boundary][/^addr:/], 265 266 *[highway][/^addr:/][highway!=services][highway!=rest_area][!"addr:postcode"] { 266 267 throwWarning: tr("{0} together with addr:*", "{0.key}"); 267 268 group: tr("suspicious tag combination"); 269 assertMatch: "node place=foo addr:housenumber=5"; 270 assertMatch: "node place=foo addr:housenumber=5 addr:postcode=12345"; 271 assertNoMatch: "node place=foo addr:postcode=12345"; 268 272 } 269 273 *[!highway][postal_code]["addr:postcode"][postal_code=*"addr:postcode"] {
Note:
See TracChangeset
for help on using the changeset viewer.