[R-sig-Geo] Buffers around polygons

2007-09-04 Thread adrian
Peter Adler asked about constructing a `buffer' around a polygon. In the spatstat package the function 'dilate.owin' will compute the morphological dilation (the region of space consisting of all locations that are less than or equal to d units distant from the original polygon). The result is not

Re: [R-sig-Geo] Large Data Sets

2007-09-04 Thread Roger Bivand
On Tue, 4 Sep 2007, Caroline Keef wrote: > I am having trouble manipulating a large data set to change a spatial > polygons data frame > > I have read in an ESRI polygon shapefile using rgdal and readOGR that > contains 18804 polygons. I am trying to add two variables into the > spatial data fram

Re: [R-sig-Geo] Large Data Sets

2007-09-04 Thread Michael Sumner
Caroline Keef wrote: > I am having trouble manipulating a large data set to change a spatial > polygons data frame > > I have read in an ESRI polygon shapefile using rgdal and readOGR that > contains 18804 polygons. I am trying to add two variables into the > spatial data frame but it's not workin

[R-sig-Geo] Large Data Sets

2007-09-04 Thread Caroline Keef
I am having trouble manipulating a large data set to change a spatial polygons data frame I have read in an ESRI polygon shapefile using rgdal and readOGR that contains 18804 polygons. I am trying to add two variables into the spatial data frame but it's not working. I'm doing this using cbind(

Re: [R-sig-Geo] polygon buffers?

2007-09-04 Thread Ari Jolma
- Original Message - From: Peter Adler <[EMAIL PROTECTED]> Date: Sunday, September 2, 2007 8:45 pm Subject: [R-sig-Geo] polygon buffers? To: r-sig-geo@stat.math.ethz.ch > Dear R gurus, > > I am very excited about all the spatials tools in R because they > have > almost liberated me fr

Re: [R-sig-Geo] polygon buffers?

2007-09-04 Thread rainer
Just to add to this: QGIS and R under Linux works as well - But as there seem to be slight problems with the grass console under QGRIS, I have the following procedure (QGIS already connected to grass): I start xterm from the grass console in QGIS and in this console R (or emacs...). Works nicely