On Wed, 17 Feb 2010, Tyler Dean Rudolph wrote:
Here is another way to compute buffered polygons around points:
## One record (point) at a time (buffer of 25m radius)
temp
xy
1 -300358 748992.6
library(spatstat)
discbuff<-disc(radius=25, centre=c(temp$x, temp$y))
Note that fr
Here is another way to compute buffered polygons around points:
## One record (point) at a time (buffer of 25m radius)
> temp
xy
1 -300358 748992.6
library(spatstat)
discbuff<-disc(radius=25, centre=c(temp$x, temp$y))
library(sp)
polybuff<-SpatialPolygons(list(Polygons(list(Polyg
Gianni,
Here is an example for longitude/latitude data using (together with
the more usual suspects) the geosphere package (recently released to
CRAN).
xy <- cbind(0, seq(-80, 80, by=20))
dist = 100 # 500 km
angles = seq(1,360, by=5)
library(geosphere)
crds = list()
for (i in 1:nrow(xy)) {
Dear Researchers,
I am looking for a library to compute buffer (Ex: 10 m radius) around a
shapefile point file. I find buffer {adehabitat} but I wish to know if there
is another library to compute buffer.
Thanks for helps
gianni
[[alternative HTML version deleted]]
_