Changeset 10776 in josm for trunk/src/org
- Timestamp:
- 2016-08-10T23:33:12+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java
r10453 r10776 26 26 import org.openstreetmap.josm.data.osm.QuadBuckets; 27 27 import org.openstreetmap.josm.data.osm.Way; 28 import org.openstreetmap.josm.data.projection.Ellipsoid; 28 29 import org.openstreetmap.josm.data.validation.Severity; 29 30 import org.openstreetmap.josm.data.validation.Test; … … 389 390 // overlap a bit and can return duplicate nodes. 390 391 nearbyNodeCache = null; 391 List<LatLon> bounds = this.getBounds(dist );392 List<LatLon> bounds = this.getBounds(dist * (360.0d / (Ellipsoid.WGS84.a * 2 * Math.PI))); 392 393 List<Node> foundNodes = endnodesHighway.search(new BBox(bounds.get(0), bounds.get(1))); 393 394 foundNodes.addAll(endnodes.search(new BBox(bounds.get(0), bounds.get(1))));
Note:
See TracChangeset
for help on using the changeset viewer.