[postgis-users] azimuth spheriod

Hecox, Brad bhecox at cghtech.com
Mon Feb 21 21:11:33 PST 2011


Hello,

We are trying to determine the best way to calculate the direction of two points geodetically on the spheriod.  We saw the function "spheroid_direction" in lwspheroid.c..  ... "Computes the direction of the geodesic joining two points on the spheroid. Based on Vincenty's formula"... exactly what we need!  However I am unable to find a way to call that from pl/pgsql.  How can we access this c function through a pl/pgsql function?

Thanks!!

Brad


More information about the postgis-users mailing list