Ticket #67 (closed defect: fixed)
laea.js erroneous references to sinph0 & cosph0
| Reported by: | guest | Owned by: | madair |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0.3 |
| Component: | core | Version: | trunk |
| Keywords: | laea, lambert azimuthal equal area | Cc: | gregor@… |
Description
Symptom: I am able to convert coordinates from WGS84 to Lambert Azimuthal Equal Area (LAEA) projection, but not convert them back. The error given is "sinph0 is not defined"
My specific SRS is SR-ORG:80, a spherical LAEA used by ArcGIS.
Proj4js.defsSR-ORG:80?="+proj=laea +lat_0=45 +lon_0=-100 +x_0=0 +y_0=0 +a=6370997 +b=6370997 +units=m +no_defs";
Diagnosis: It looks to be simple typos: sinph0 and cosph0 should be this.sinph0 and this.cosph0
Attached: A patched version of laea.js which seems to convert back and forth properly.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

