Changeset 5908 in josm
- Timestamp:
- 2013-04-29T00:05:57+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/Addresses.java
r5776 r5908 85 85 public void visit(Node n) { 86 86 List<Relation> associatedStreets = getAndCheckAssociatedStreets(n); 87 // Find house number without proper location (neither addr:street, associatedStreet or addr:place)87 // Find house number without proper location (neither addr:street, associatedStreet, addr:place or addr:interpolation) 88 88 if (n.hasKey(ADDR_HOUSE_NUMBER) && !n.hasKey(ADDR_STREET) && !n.hasKey(ADDR_PLACE)) { 89 89 for (Relation r : associatedStreets) { 90 90 if (r.hasTag("type", ASSOCIATED_STREET)) { 91 return; 92 } 93 } 94 for (Way w : OsmPrimitive.getFilteredList(n.getReferrers(), Way.class)) { 95 if (w.hasKey(ADDR_INTERPOLATION) && w.hasKey(ADDR_STREET)) { 91 96 return; 92 97 }
Note:
See TracChangeset
for help on using the changeset viewer.