Changeset 15407 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2019-10-03T13:40:34+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java
r15354 r15407 541 541 BBox bbox = new BBox(endnode.getCoor(), x.getCoor()); 542 542 for (Way nearbyWay: ds.searchWays(bbox)) { 543 if (nearbyWay != w && nearbyWay. hasTag("barrier") && !endnode.getParentWays().contains(nearbyWay)) {543 if (nearbyWay != w && nearbyWay.isUsable() && nearbyWay.hasTag("barrier") && !endnode.getParentWays().contains(nearbyWay)) { 544 544 //make sure that the barrier is really between the two nodes, not just close to them 545 545 Way directWay = new Way();
Note:
See TracChangeset
for help on using the changeset viewer.