Re: [R-sig-Geo] comparing raster and vector data with Grass/R

2007-03-07 Thread Edzer J. Pebesma
Roger Bivand wrote: > On Wed, 7 Mar 2007, Schmitt Thierry wrote: > > >> I am struggling to overlay spatialLinesDataFrame and >> SpatialGridDataFrame. The overlay method doesn't allow me to do so. >> >> > > There is no overlay method, you would need to write one, or interpolate > points alo

Re: [R-sig-Geo] comparing raster and vector data with Grass/R

2007-03-07 Thread Jonathan Greenberg
Our primary developer for starspan (I designed the program, but did none of the coding) has since moved on to bigger and better things, but I would LOVE to get some help getting starspan cleaned up so it can be a GRASS add-on. If anyone is interested, please send me an email about it -- ultimately

Re: [R-sig-Geo] comparing raster and vector data with Grass/R

2007-03-07 Thread Roger Bivand
On Wed, 7 Mar 2007, Schmitt Thierry wrote: > I am struggling to overlay spatialLinesDataFrame and > SpatialGridDataFrame. The overlay method doesn't allow me to do so. > There is no overlay method, you would need to write one, or interpolate points along your lines and overlay the resulting poi

Re: [R-sig-Geo] comparing raster and vector data with Grass/R

2007-03-07 Thread Schmitt Thierry
I am struggling to overlay spatialLinesDataFrame and SpatialGridDataFrame. The overlay method doesn't allow me to do so. As mentioned by matt, I might have a look at starspan. However, I might be interested to have some solution within the Grass/R interface Thierry

Re: [R-sig-Geo] comparing raster and vector data with Grass/R

2007-03-06 Thread Edzer J. Pebesma
Using the classes and methods for spatial data in package sp, typically the dem would be stored in a grid (SpatialGridDataFrame) and the vector data in a SpatialPointsDataFrame. Then you can use the overlay method to retrieve the dem values at point locations, to look at their relationship. -- E

[R-sig-Geo] comparing raster and vector data with Grass/R

2007-03-06 Thread Schmitt Thierry
Hi members of the list I am new to the R community (somewhat to the grass community also). I would like to see if there is any correlation between vector data (polyline connected to a db file) and classes from an analysis on a raster file. Namely I have an underwater DEM (raster 4m resolution)