[R-sig-Geo] rgdal and grass rasters

Jonathan Greenberg greenberg at ucdavis.edu
Tue Mar 2 01:42:53 CET 2010


Hmm, I'm trying to use the raster package via rgdal to access these
files -- I'm trying to avoid having to export then to another format
(I'm dealing with gigabytes of rasters), although I suppose I could do
this.  Does spgrass6 "enable" rgdal to access GRASS rasters, or is it
its own standalone program?  How does the base gdal package work with
grass rasters?

--j

On Mon, Mar 1, 2010 at 2:35 PM, Sarah Goslee <sarah.goslee at gmail.com> wrote:
> I think you need to export it from grass first, with r.out.gdal
>
> Or you can use spgrass6 to work with R and GRASS directly.
>
> Sarah
>
> On Mon, Mar 1, 2010 at 5:17 PM, Jonathan Greenberg
> <greenberg at ucdavis.edu> wrote:
>> Folks: when trying to import or GDALinfo a grass raster, where,
>> exactly, should I be pointing to in the grass directory?  I tried
>> pointing to the file with the same name as the raster I want to work
>> with in the fcell, cellhd, and cell directories
>> (grass/location/mapset), but none of these are working...  thanks!
>>
>
>
>
> --
> Sarah Goslee
> http://www.functionaldiversity.org
>



More information about the R-sig-Geo mailing list