Changeset 6518 in josm
- Timestamp:
- 2013-12-24T10:16:30+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java
r6515 r6518 127 127 continue; 128 128 } 129 if ("turning_circle".equals(en.get("highway")) 130 || "bus_stop".equals(en.get("highway")) 131 || "buffer_stop".equals(en.get("railway")) 129 if (en.hasTag("highway", "turning_circle", "bus_stop") 130 || en.hasTag("railway", "buffer_stop") 132 131 || OsmUtils.isTrue(en.get("noexit")) 133 132 || en.hasKey("barrier")) { … … 350 349 if (!w.isUsable() 351 350 || w.hasKey("barrier") 352 || "cliff".equals(w.get("natural")))351 || w.hasTag("natural", "cliff")) 353 352 return ret; 354 353 … … 375 374 @Override 376 375 public void visit(Way w) { 377 // Do not consider empty ways and addr:interpolation ways as they are not physical features and most of the time 378 // very near the associated highway, which is perfectly normal, see #9332 379 if (w.getNodesCount() > 0 && !w.hasKey("addr:interpolation")) { 376 if (w.getNodesCount() > 0 // do not consider empty ways 377 && !w.hasKey("addr:interpolation") // ignore addr:interpolation ways as they are not physical features and most of the time very near the associated highway, which is perfectly normal, see #9332 378 && !w.hasTag("highway", "platform") && !w.hasTag("railway", "platform") // similarly for public transport platforms 379 ) { 380 380 ways.addAll(getWaySegments(w)); 381 381 QuadBuckets<Node> set = endnodes;
Note:
See TracChangeset
for help on using the changeset viewer.