[Proj] wrong computation of meridinal distance / pj mlfn.c
Gerald I. Evenden
gerald.evenden at verizon.net
Wed Jul 13 13:00:26 EDT 2005
A bit more on the meridional distance (pardon my continual misspelling).
The kernel of the integral in the manual is simply the radius of the
earth's surface in
the plane of the meridian:
rho = a(1-e^2)/(1-e^2sin^2(phi))^(3/2)
where a:earth's semi-major axis, e: eccentricity and phi: geodetic
Note that if eccentricity becomes 0 then then rho = a and integrating
meridional distance simply becomes a*phi.
The traditional solution has been to do a binomial expansion of the
and follow with a term-by-term integration of the series. Very messy and
one out of the bars for a while. The difference between the multiple
series (sin(n*phi)) versus the power series ((sin(phi))^n) depends upon
of integral tables one wishes to use. The power series is
desirable in minimizing computer time by drastically cutting time spent
the sine function (another power series).
The elliptic integral method (which is also a power series) came about
I happened to locate the integral in Gradsbteyn & Rysbik along with a
to evaluate the elliptic integral that gave solution which converged to
precision fairly rapidly. The method is slightly slower than the last
series method in PROJ4 but much more accurate.
Testing was made by numerical integration with GP-PARI multiple
although any multiple precision package ought to work.
Jerry and the Low Riders: Daisy Mae and Joshua
"The most certain test by which we judge whether a country is
really free is the amount of security enjoyed by minorities"
---Lord Acton, 1907
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Proj