Changeset 10084 in josm for trunk/data
- Timestamp:
- 2016-03-30T19:09:09+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/addresses.mapcss
r7937 r10084 1 /* see #9667 - Verify interpolation range/values 2 Matches nodes with a decrease of addr:housenumber within addr:interpolation=even/odd. 3 */ 4 *[tag("addr:housenumber") > child_tag("addr:housenumber")][regexp_test("even|odd", parent_tag("addr:interpolation"))] + *[addr:housenumber] { 5 throwWarning: tr("Decreasing house numbers in addresses interpolation"); 1 /* see #10232 */ 2 way[addr:interpolation=odd] > node[addr:housenumber][get(split(".", tag("addr:housenumber")/2), 1)=0] { 3 throwWarning: tr("Even housenumber in odd address interpolation."); 6 4 } 5 way[addr:interpolation=even] > node[addr:housenumber][get(split(".", tag("addr:housenumber")/2), 1)=5] { 6 throwWarning: tr("Odd housenumber in even address interpolation."); 7 } 8 way[addr:interpolation] { 9 throwOther: tr("Way with {0}. Tag each housenumber separately if possible.", "{0.key}"); 10 }
Note:
See TracChangeset
for help on using the changeset viewer.