Changeset 5776 in josm
- Timestamp:
- 2013-03-13T22:35:36+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/Addresses.java
r5748 r5776 39 39 protected static final int MULTIPLE_STREET_RELATIONS = 2604; 40 40 protected static final int HOUSE_NUMBER_TOO_FAR = 2605; 41 protected static final int HOUSE_NUMBER_ON_NON_BUILDING_AREA = 2606;42 41 43 42 protected static final String ADDR_HOUSE_NUMBER = "addr:housenumber"; … … 101 100 public void visit(Way w) { 102 101 getAndCheckAssociatedStreets(w); 103 if (w.isArea() && w.hasKey(ADDR_HOUSE_NUMBER) && !w.hasKey("building")) {104 errors.add(new AddressError(HOUSE_NUMBER_ON_NON_BUILDING_AREA, w, tr("House number on a non-building area")));105 }106 102 } 107 103
Note:
See TracChangeset
for help on using the changeset viewer.