[gdal-dev] Geodetic Problem

David Baker (Geoscience) david.m.baker at chk.com
Wed Mar 17 14:17:11 EDT 2010


I have looked at that and not being a c++ guys did not really know how to recompile geographiclib into a dll that I could then pinvoke into C#.  I did find http://www.gavaghan.org/blog/free-source-code/geodesy-library-vincentys-formula/ that looks like it will do the trick.

The application I am working on takes deviation survey station readings (wellbore measured depth from the wells surface location, wellbore inclination from vertical and wellbore azimuth from true or grid north) recorded in horizontal wellbores, and using a minimum curvature calculation calculates the x, y and z (x and y are relative to the azimuth reference and z is true vertical depth) offsets of each survey station along the wellbore path.  I need to calculate the latitude and longitude of each of these points.

Thanks for the reference.


David M. Baker
Senior Geologist - Chief Technology Advisor
Chesapeake Energy Corporation
405-935-3715 office
405-496-5373 cell
david.m.baker at chk.com

-----Original Message-----
From: Jean-Claude REPETTO [mailto:jrepetto at free.fr]
Sent: Wednesday, March 17, 2010 11:45 AM
To: David Baker (Geoscience)
Cc: 'gdal-dev at lists.osgeo.org'
Subject: Re: [gdal-dev] Geodetic Problem

David Baker (Geoscience) a écrit :
> Given the above information and using the prebuilt tools, GDAL/OGR
> utilities, what workflow would one use to calculate the latitude and
> longitude of the second tower?

Hello David,

Maybe the "geod" utility from the GeographicLib can solve your problem :


This email (and attachments if any) is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law.  If the reader of this email is not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify the sender immediately by return email and destroy all copies of the email (and attachments if any).

More information about the gdal-dev mailing list