Re: [R-sig-Geo] compute buffer from point shapefile to have shapefile

2010-02-17 Thread Roger Bivand
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

Re: [R-sig-Geo] compute buffer from point shapefile to have shapefile

2010-02-17 Thread Tyler Dean Rudolph
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

Re: [R-sig-Geo] compute buffer from point shapefile to have shapefile

2010-02-15 Thread Robert J. Hijmans
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)) {

[R-sig-Geo] compute buffer from point shapefile to have shapefile

2010-02-15 Thread gianni lavaredo
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]] _