[gdal-dev] Geodetic Problem

Aron Rubin aronrubin at gmail.com
Tue Mar 16 17:13:50 EDT 2010


On 3/16/10, David Baker (Geoscience) <david.m.baker at chk.com> wrote:
> Frank and the List,
>
> I have a geodetic problem I hope GDAL/OGR can solve.
>

I have not seen the direct or inverse gedesic routines in either Proj
or OGR. SimGear provides an implementation here
<http://cvs.simgear.org/viewvc/source/simgear/math/SGGeodesy.cxx?root=SimGear&view=markup>
(function _geo_direct_wgs_84) and you could use OSRGetSemiMajor
OSRGetInvFlattening OSRGetSemiMinor for the "a", "rf", and "b"
variables respectively to use other ellipsoids assigned in OGR. Proj
wiki has notes here
<http://trac.osgeo.org/proj/wiki/GeodesicCalculations> which notes a
fortran implementation <http://www.ngs.noaa.gov/PC_PROD/Inv_Fwd/>.

Aron

-- 
Aron Rubin
Handy Husband & Daddy Jungle Gym & Senior Engineer


More information about the gdal-dev mailing list