Changeset 6393 in josm for trunk/src


Ignore:
Timestamp:
2013-11-19T01:41:50+01:00 (12 years ago)
Author:
Don-vip
Message:

fix #9332 - addr:interpolation support: enhance preset + avoid false positives in validator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java

    r6241 r6393  
    333333    @Override
    334334    public void visit(Way w) {
    335         if (w.getNodesCount() > 0) {
     335        // Do not consider empty ways and addr:interpolation ways as they are not physical features and most of the time
     336        // very near the associated highway, which is perfectly normal, see #9332
     337        if (w.getNodesCount() > 0 && !w.hasKey("addr:interpolation")) {
    336338            ways.addAll(getWaySegments(w));
    337339            QuadBuckets<Node> set = endnodes;
Note: See TracChangeset for help on using the changeset viewer.