Changeset 11621 in josm for trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java
- Timestamp:
- 2017-02-25T21:21:27+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java
r11608 r11621 443 443 @Override 444 444 public void visit(Way w) { 445 if (w.getNodesCount() > 0 // do not consider empty ways 446 && !w.hasKey("addr:interpolation") // ignore addr:interpolation ways as they are not physical features and most of 447 // the time very near the associated highway, which is perfectly normal, see #9332 448 && !w.hasTag("highway", "platform") && !w.hasTag("railway", "platform") // similarly for public transport platforms 445 // do not consider empty ways 446 if (w.getNodesCount() > 0 447 // ignore addr:interpolation ways as they are not physical features and most of 448 // the time very near the associated highway, which is perfectly normal, see #9332 449 && !w.hasKey("addr:interpolation") 450 // similarly for public transport platforms 451 && !w.hasTag("highway", "platform") && !w.hasTag("railway", "platform") 449 452 ) { 450 453 ways.addAll(getWaySegments(w));
Note:
See TracChangeset
for help on using the changeset viewer.