[R-sig-Geo] Problem loading GRASS 6.3.0 raster
Roger Bivand
Roger.Bivand at nhh.no
Tue Mar 10 18:07:42 CET 2009
On Tue, 10 Mar 2009, Rainer M Krug wrote:
> Hi
>
> I want to load a raster from GRASS with readRAST6(..., useGDAL=TRUE),
> but I get the following error:
>
> Error in .local(.Object, ...) :
> GDAL Error 4:
> `/tmp/15827.1.default.q/simASM.CapePeninsula.15827.1/grass/simulation/.tmp/comp017/HSericea_dc_2007'
> does not exist in the file system,
> and is not recognised as a supported dataset name.
Rainer,
Two extra pieces of information might be helpful, the traceback() of the
error (to see which R code was used last) and the GRASS version. If you
felt like running readRAST6() under debug(), it would be even clearer
whether execution is following the plugin or r.out.gdal forks in the code.
I ask about the GRASS version because I seem to remember a file name
length limitation in older versions.
Roger
>
> When I use readRAST6(..., useGDAL=FALSE)
> it works.
>
> I am using R 2.7.2, spgrass 0.5.18 and rgdal 0.6.7
>
> GDAL is compiled without GRASS support, but the plugin is installed.
>
>
> Rainer
>
>
>
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the R-sig-Geo
mailing list