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

Last change on this file since 10084 was 10084, checked in by Klumbumbus, 4 years ago

fix #10232, see #9667 - remove wrong "Decreasing house numbers in addresses interpolation" warning; add "Even housenumber in odd address interpolation." warning and vice versa; add addr:interpolation info

  • Property svn:eol-style set to native
File size: 494 bytes
Line 
1/* see #10232 */
2way[addr:interpolation=odd] > node[addr:housenumber][get(split(".", tag("addr:housenumber")/2), 1)=0] {
3    throwWarning: tr("Even housenumber in odd address interpolation.");
4}
5way[addr:interpolation=even] > node[addr:housenumber][get(split(".", tag("addr:housenumber")/2), 1)=5] {
6    throwWarning: tr("Odd housenumber in even address interpolation.");
7}
8way[addr:interpolation] {
9    throwOther: tr("Way with {0}. Tag each housenumber separately if possible.", "{0.key}");
10}
Note: See TracBrowser for help on using the repository browser.