Changeset 10001 in josm for trunk/src/org/openstreetmap/josm/data/projection/AbstractProjection.java
- Timestamp:
- 2016-03-17T01:50:12+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/AbstractProjection.java
r9790 r10001 96 96 @Override 97 97 public LatLon eastNorth2latlon(EastNorth en) { 98 double[] latlon _rad = proj.invproject((en.east() * toMeter - x0) / ellps.a / k0, (en.north() * toMeter - y0) / ellps.a / k0);99 LatLon ll = new LatLon(Math.toDegrees(latlon _rad[0]), LatLon.normalizeLon(Math.toDegrees(latlon_rad[1]) + lon0 + pm));98 double[] latlonRad = proj.invproject((en.east() * toMeter - x0) / ellps.a / k0, (en.north() * toMeter - y0) / ellps.a / k0); 99 LatLon ll = new LatLon(Math.toDegrees(latlonRad[0]), LatLon.normalizeLon(Math.toDegrees(latlonRad[1]) + lon0 + pm)); 100 100 return datum.toWGS84(ll); 101 101 }
Note:
See TracChangeset
for help on using the changeset viewer.