#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 (1)
Change History (3)
by , 13 years ago
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 13 years ago
Milestone: | 1.0.2 → 1.0.3 |
---|
Note:
See TracTickets
for help on using tickets.
patch applied in rev [2157]
Thanks for the bug report and patch!