Changeset 14956 in josm


Ignore:
Timestamp:
2019-04-03T22:04:56+02:00 (3 weeks ago)
Author:
Klumbumbus
Message:

fix #17486 - warn about addr:housenumber without number

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/addresses.mapcss

    r11077 r14956  
    2525    assertNoMatch: "node addr:housename=1 addr:housenumber=2";
    2626}
     27
     28/* #17486 */
     29*[addr:housenumber][addr:housenumber!~/[0-9]/] {
     30  throwWarning: tr("{0} without number", "{0.key}");
     31  assertNoMatch: "way addr:housenumber=0";
     32  assertNoMatch: "way addr:housenumber=5a";
     33  assertNoMatch: "way addr:housenumber=5/1";
     34  assertMatch: "way addr:housenumber=?";
     35  assertMatch: "way addr:housenumber=unknown";
     36  assertMatch: "way addr:housenumber=Palace of Westminster";
     37  assertMatch: "way addr:housenumber=S/N";
     38}
Note: See TracChangeset for help on using the changeset viewer.