Skip to content
Back to formatted view

Raw Message

Message-ID: <CAG4NReJF+7VD43Mh1ZT-WPu4ikEzvBgrs12fj06q_+StpZ2dmA@mail.gmail.com>
Date: 2014-01-09T14:11:44Z
From: Agustin Lobo
Subject: writeRaster() error with raster_2.2-5

I'm getting this problem with raster_2.2-5 rgdal_0.8-14 (was working
until I updated):

test <- raster(matrix(10,nrow=4,ncol=4))
writeRaster(test,file="test",format="GTiff",overwrite=TRUE)

Error in .getGDALtransient(x, filename = filename, options = options,  :
  could not find function "GDALcall"

Instead
writeGDAL(as(test, "SpatialGridDataFrame"), fname ="test")
works fine.

It looks like the same problem we had few weeks ago is back
http://r-sig-geo.2731867.n2.nabble.com/Error-in-gd-SetProject-transient-crs-r-td7585330.html#a7585432

> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-pc-linux-gnu (64-bit)

rgdal: version: 0.8-14, (SVN revision 496)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 1.10.0, released 2013/04/24
Path to GDAL shared files: /usr/share/gdal/1.10
Loaded PROJ.4 runtime: Rel. 4.8.0, 6 March 2012, [PJ_VERSION: 480]
Path to PROJ.4 shared files: (autodetected)

Tried with raster version in R-forge, same problem

Agus