On 3/16/10, David Baker (Geoscience) <[email protected]> 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 _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
