Changeset 18494 in josm for trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
- Timestamp:
- 2022-06-15T19:27:05+02:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
r16643 r18494 19 19 import org.openstreetmap.josm.data.ProjectionBounds; 20 20 import org.openstreetmap.josm.data.coor.EastNorth; 21 import org.openstreetmap.josm.data.coor.ILatLon; 21 22 import org.openstreetmap.josm.data.coor.LatLon; 22 23 import org.openstreetmap.josm.data.coor.conversion.LatLonParser; … … 808 809 // project back and check if the result is somewhat reasonable 809 810 LatLon llBack = eastNorth2latlon(enPole); 810 if (llBack.isValid() && ll.greatCircleDistance( llBack) < 1000) {811 if (llBack.isValid() && ll.greatCircleDistance((ILatLon) llBack) < 1000) { 811 812 polesEN.put(p, enPole); 812 813 }
Note:
See TracChangeset
for help on using the changeset viewer.