Changeset 17761 in josm
- Timestamp:
- 2021-04-12T21:33:48+02:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/Multipolygon.java
r16445 r17761 514 514 if (m.getMember().isIncomplete()) { 515 515 this.incomplete = true; 516 } else if ( m.getMember().isDrawable() && m.isWay()) {516 } else if (!m.getMember().isDeleted() && m.isWay()) { 517 517 Way w = m.getWay(); 518 518 519 if ( w.getNodesCount() < 2) {519 if (!w.hasOnlyLocatableNodes() || w.getNodesCount() < 2) { 520 520 continue; 521 521 } -
trunk/src/org/openstreetmap/josm/data/validation/tests/LongSegment.java
r17382 r17761 136 136 private static boolean isUsableNode(OsmPrimitive p) { 137 137 // test changed nodes - ways referred by them may not be checked automatically. 138 return p instanceof Node && p.isDrawable();138 return p instanceof Node && ((Node) p).isLatLonKnown(); 139 139 } 140 140 -
trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java
r17420 r17761 595 595 Node a = w.getNode(i-1); 596 596 Node b = w.getNode(i); 597 if (a.is Drawable() && b.isDrawable()) {597 if (a.isLatLonKnown() && b.isLatLonKnown()) { 598 598 MyWaySegment ws = new MyWaySegment(w, a, b, concersArea); 599 599 ret.add(ws);
Note:
See TracChangeset
for help on using the changeset viewer.