Ignore:
Timestamp:
2014-01-06T12:27:11+01:00 (10 years ago)
Author:
simon04
Message:

fix #9544 - Skip nodes outside of download area for BarriersEntrances and WayConnectedToArea validation tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/Way.java

    r6491 r6639  
    726726        return hasAreaTags();
    727727    }
     728
     729    @Override
     730    public boolean isOutsideDownloadArea() {
     731        for (final Node n : nodes) {
     732            if (n.isOutsideDownloadArea()) {
     733                return true;
     734            }
     735        }
     736        return false;
     737    }
    728738}
Note: See TracChangeset for help on using the changeset viewer.