[R-sig-Geo] Problem reading files through rgdal
Rainer M Krug
r.m.krug at gmail.com
Tue Dec 13 10:45:37 CET 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 13/12/11 10:29, Agustin Lobo wrote:
> Also, after reinstalling rgdal from cran, I get a warning:
>> GDALinfo(paste(datawd,"/SPOTmultispectral/SP2003ATC_atm2.tif",sep=3D""))
>
>>
Error in .local(.Object, ...) :
> WARNING ! libtiff version mismatch : You're linking against
> libtiff 3.X but GDAL has been compiled against libtiff >=3D 4.0.0
I had a simlar problem, and this is when I started (as Roger Bivand
suggested to me) to install gdal from source and use this one as a
gdal installation for rgdal - then it worked.
If you install gdal in your home directory, you *can* leave the
systemwide from repo installed, as several problems rely on it, but
you have to set PATH and point rgdal to the installation of gdal in
the home directory.
Other option: use checkinstall to create a package of gdal and install
it systemwide (haven't done this yet, just thought about it...).
Cheers,
Rainer
<--- SNIP --->
- --
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa
Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax : +33 - (0)9 58 10 27 44
Fax (D): +49 - (0)3 21 21 25 22 44
email: Rainer at krugs.de
Skype: RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7nHsEACgkQoYgNqgF2egqMhACfYR+XulzgRwQL8SvQbmf/Ym91
xQsAnRRw0uarGxx6sGdWdRAhGuwVpUBg
=gRMF
-----END PGP SIGNATURE-----
More information about the R-sig-Geo
mailing list