Opened 14 years ago
Closed 13 years ago
#52 closed defect (fixed)
EQDC projection fix
Reported by: | potter000 | Owned by: | madair |
---|---|---|---|
Priority: | major | Milestone: | 1.0.2 |
Component: | core | Version: | 1.0.0 |
Keywords: | projCode eqdc | Cc: |
Description
Hello,
I have faced wrong latitude calculation (i.e. lat was always zero) when performing an inverse projection from equidistant conic. My Proj.4 string was the following:
+proj=eqdc +lat_1=50.6544 +lat_2=66.725099999 +lat_0=54 +lon_0=100 +x_0=0 +y_0=0 +ellipse=krass
It seems there is a bug in eqdc.js: line 112 should say
var lat = this.phi3z(ml,this.e0,this.e1,this.e2,this.e3);
and not
var lat = this.phi3z(this.ml,this.e0,this.e1,this.e2,this.e3);
Please find the patch that closes this bug attached and let me know if that was useful and/or fixed the issue.
Attachments (1)
Change History (2)
by , 14 years ago
Attachment: | eqdc.patch added |
---|
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
looks like this got committed at rev [1870]
Thanks for the bug report and patch