Opened 15 years ago
Closed 15 years ago
#40 closed defect (fixed)
Inverse spherical lambert azimutahl equal area broken
Reported by: | billinb | Owned by: | madair |
---|---|---|---|
Priority: | major | Milestone: | 1.0.1 |
Component: | core | Version: | trunk |
Keywords: | Cc: | billinb@… |
Description
The spherical inverse laea transformation is broken. I have a change that appears to work and it is described below. I don't know how to run the unit tests but if someone wants to provide those instructions I will be happy to run them. If there is any more information needed please let me know. This bug exists in both 1.0.0 and the trunk.
The diff for the change that fixes the problem, run against the current head of the svn repository follows, it is a small change. The atan2 call was changed to Math.atan2: Index: laea.js =================================================================== --- laea.js (revision 1711) +++ laea.js (working copy) @@ -238,7 +238,7 @@
phi -= Proj4js.common.HALF_PI; break;
}
this.mode == this.OBLIQ)) ? 0. : atan2(x, y); |
this.mode == this.OBLIQ)) ? 0. : Math.atan2(x, y); |
} else {
var cCe, sCe, q, rho, ab=0.0;
Change History (1)
comment:1 by , 15 years ago
Milestone: | 1.0.0 → 1.0.1 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
fixed at rev 1713