- Timestamp:
- 2011-11-26T16:55:47+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/Coastlines.java
r4073 r4610 150 150 List<OsmPrimitive> highlight = new ArrayList<OsmPrimitive>(); 151 151 152 System.out.println("Unconnected coastline: " + c1.getId());153 152 if (headWays == 0 && (downloadedArea == null || downloadedArea.contains(head.getCoor()))) { 154 System.out.println("headways: " +headWays+ " node: " + head.toString());155 153 highlight.add(head); 156 154 } 157 155 if (tailWays == 0 && (downloadedArea == null || downloadedArea.contains(tail.getCoor()))) { 158 System.out.println("tailways: " +tailWays+ " tail: " + tail.toString());159 156 highlight.add(tail); 160 157 } … … 175 172 } else if (reversed && next == prev) { 176 173 unordered = true; 174 } else if ((headReversed || tailReversed) && headReversed != tailReversed) { 175 unordered = true; 177 176 } 178 177 … … 180 179 List<OsmPrimitive> highlight = new ArrayList<OsmPrimitive>(); 181 180 182 System.out.println("Unordered coastline: " + c1.toString()); 183 if (headWays > 1 || headUnordered || reversed) { 184 System.out.println("head: " + head.toString()); 181 if (headWays > 1 || headUnordered || headReversed || reversed) { 185 182 highlight.add(head); 186 183 } 187 if (tailWays > 1 || tailUnordered || reversed) { 188 System.out.println("tail: " + tail.toString()); 184 if (tailWays > 1 || tailUnordered || tailReversed || reversed) { 189 185 highlight.add(tail); 190 186 }
Note:
See TracChangeset
for help on using the changeset viewer.