[postgis-users] azimuth spheriod

Sandro Santilli strk at keybit.net
Tue Feb 22 00:51:45 PST 2011


On Tue, Feb 22, 2011 at 05:11:33AM +0000, Hecox, Brad wrote:
> 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?

It looks like you can't yet.
Wouldn't take too much time to make it available.
Patch or sponsorship is welcome.

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-users mailing list