Opened 16 years ago
Closed 16 years ago
#4 closed defect (fixed)
3PARAMETER datum transformation method produces results which are a meter or two off
Reported by: | hugueswski | Owned by: | hugueswski |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Library | Version: | |
Keywords: | 3PARAMETER GEOCENTRIC | Cc: |
Description
There is a coding error in the 3PARAMETER datum transformation method that produces results which are a meter or two (depending on the datum and position) off.
The bug can be seen in CS_dtcalc.c at line 958: parm3->srcESqr = srcDatum->ecent * trgDatum->ecent; should be: parm3->srcESqr = srcDatum->ecent * srcDatum->ecent;
Fixing the bug is trivial, but we'll need to: 1) leave the defective 3PARAMETER transformation in place as a LEGACY object and add a new transformation named GEOCENTRIC; 2) replace all the affected systems.
This affects 65 datum definitions and 600 coordinate system definitions which reference the 3PARAMETER definitions