Changeset 10308 in josm for trunk/src/org/openstreetmap/josm/data/projection/proj
 Timestamp:
 20160601T23:17:40+02:00 (3 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/org/openstreetmap/josm/data/projection/proj/SwissObliqueMercator.java
r10001 r10308 102 102 double lambda = l / alpha; 103 103 double phi = b; 104 double s = 0;105 104 106 105 double prevPhi = 1000; … … 111 110 throw new RuntimeException("Two many iterations"); 112 111 prevPhi = phi; 113 s = 1 / alpha * (log(tan(PI / 4 + b / 2))  k) + ellps.e112 double s = 1 / alpha * (log(tan(PI / 4 + b / 2))  k) + ellps.e 114 113 * log(tan(PI / 4 + asin(ellps.e * sin(phi)) / 2)); 115 114 phi = 2 * atan(exp(s))  PI / 2;
Note: See TracChangeset
for help on using the changeset viewer.