source: josm/trunk/data/validator/addresses.mapcss@ 7600

Last change on this file since 7600 was 6927, checked in by Don-vip, 11 years ago

fix #9667 - Verify addresses interpolation range/values via MapCSS (patch by simon04)

File size: 366 bytes
RevLine 
[6927]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");
6}
Note: See TracBrowser for help on using the repository browser.