Re: [R-sig-eco] How to calculate geographical coordinates of sampling points following (by bearing and distance) a georeferenced one?

2012-04-09 Thread Ivailo
On Fri, Apr 6, 2012 at 10:26 PM, Tammy Wilson t...@aggiemail.usu.edu wrote: Trigonometry will work for projected coordinate systems like UTM: Try this: # number of points n = 30 # reference location ref.pt = cbind(1,2) # generate some random directions # This can be your list of your

Re: [R-sig-eco] How to calculate geographical coordinates of sampling points following (by bearing and distance) a georeferenced one?

2012-04-06 Thread Tammy Wilson
Trigonometry will work for projected coordinate systems like UTM: Try this: # number of points n = 30 # reference location ref.pt = cbind(1,2) # generate some random directions # This can be your list of your bearings converted to radians dir - runif(n,0,2*pi ) # generate some random distances

[R-sig-eco] How to calculate geographical coordinates of sampling points following (by bearing and distance) a georeferenced one?

2012-04-05 Thread Ivailo
Der fellow R-users, I have several sampling sites and in each site the starting plot (i.e. the first one that have been sampled) is georeferenced with a GPS but the following ones are just described by their distance and bearing in relation to the previous one. Is there a quick way to calculate

Re: [R-sig-eco] How to calculate geographical coordinates of sampling points following (by bearing and distance) a georeferenced one?

2012-04-05 Thread Michael Sumner
I cannot remember the names, but there would be support for this in the maptools or geosphere package I am sure On Thursday, April 5, 2012, Ivailo wrote: Der fellow R-users, I have several sampling sites and in each site the starting plot (i.e. the first one that have been sampled) is