[R-sig-Geo] function for bearing

Tim Keitt tkeitt at mail.utexas.edu
Thu Mar 9 17:05:02 CET 2006


I believe this can be done in PROJ by simply dumping the points as ASCII
and then calling 'geod' on the command line.

THK

On Thu, 2006-03-09 at 06:49 -0600, Sebastian Luque wrote:
> Hello,
> 
> I have searched the archives and other sources, but cannot find an R
> function that would calculate the bearing of a pair of points (lat, lon).
> It wouldn't be difficult to write such a function, but has this already
> been done in a package?
> 
> 
> Thanks in advance,
> 
-- 
Timothy H. Keitt
Assistant Professor
http://www.keittlab.org/
http://www.utexas.edu/directory/index.php?q=Keitt




More information about the R-sig-Geo mailing list