On Thu, 27 Sep 2007, Eric Archer wrote: > Is there a package that contains a function that will allow me to calculate > the ending latitude and longitude given a starting point on the earth's > surface and bearing and distance? I have searched the archives but have been > unable to find one and would like to double check before I try to roll my > own. Thanks for any pointers.
Nothing for this case - azimuth for two points is in gzAzimuth() in maptools, so that might be a way in. There is C code for the spDistsN1() function in the sp package, visible in the CVS repository at the r-spatial site at sourceforge, but neither of these meets your need directly. If you do "roll your own", please consider contributing to maptools. Roger > > Cheers, > eric > > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: [EMAIL PROTECTED] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo