Hi,

I'm having trouble using writeGDAL() to save a SpatialPixelsDataFrame to
disk as a GeoTIFF.

> class(abs0to501)
[1] "SpatialPixelsDataFrame"
attr(,"package")
[1] "sp"

> names(abs0to501)
 [1] "z"          "regression" "res"        "variancek"  "variance1"
"variance2"
 [7] "variance"   "p1"         "p2"         "p3"         "b0"
"b1"
[13] "b2"         "b3"         "b4"         "b5"         "b6"
"b7"
[19] "b8"         "b9"         "b10"

For now, I just want to write the "z" attribute as a GeoTIFF. So I call
writeGDAL() as follows:

> writeGDAL(abs0to501["z"],"f:\temp\abs0to501_z.tif")

then it thinks for a few seconds, and I get the error message:

Error in .local(.Object, ...) : Dataset copy failed

Is my file too large for R to cope with? The csv file that it originates
from is about 470 Mb in size. Or am I doing something else wrong?

Regards,

Nathan Odgers

	[[alternative HTML version deleted]]

