On Sat, Jan 3, 2009 at 7:54 AM, Markus Neteler <[email protected]> wrote: > On Fri, Jan 2, 2009 at 7:38 PM, Jarek Jasiewicz <[email protected]> wrote: >> but this means that plugin ignores current region setings! > > Yes. That's why I suggested to implement r.out.gdal usage > in the GRASS-R extension time ago (see this list archive, > date Sun, Jun 1, 2008 at 9:40 PM > subject Re: [GRASS-stats] Speedup of readVECT6() with plugin > ). > > There is a "plugin" switch which you set to plugin=TRUE, perhaps > it needs to be FALSE to make use of the better + faster r.out.gdal > which would solve your problem as it is resolution/region sensitive.
OK, I checked the source code of spgrass6_0.5-16.tar.gz and the manual at http://cran.r-project.org/web/packages/spgrass6/index.html which says: "useGDAL: default FALSE using r.out.bin or r.in.bin, if TRUE use r.out.gdal or r.in.gdal, GTiff, and readGDAL or writeGDAL " So this switch should solve your problem. Markus PS: Upon a test if GRASS is >= 6.4 I suggest to set useGDAL=TRUE in spgrass6. _______________________________________________ grass-stats mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-stats
