[R-sig-Geo] rgdal and proj
Roger Bivand
Roger@B|v@nd @end|ng |rom nhh@no
Sun Feb 7 14:17:24 CET 2021
On Sun, 7 Feb 2021, pierluigi de rosa wrote:
> Dear all,
>
> I'm using R in my ubuntu machine.
Please, for sf/terra/rgdal etc. questions always report the versions of
the installed PROJ/GDAL/GEOS libraries (rgdal::rgdal_extSoftVersion()),
and how you installed these external libraries. If you upgraded PROJ
without re-installing rgdal (guess, for example), this may happen. From
PROJ 6.0.0, this file is not used and not shipped with PROJ.
So I suggest uninstalling all of PROJ/GDAL/GEOS, reinstalling those, then
removing and installing R packages needing these external libraries.
Roger
> When I load the library rgdal i obtain:
> library(rgdal)
> Path to PROJ.4 shared files: (autodetected)
> WARNING: no proj_defs.dat in PROJ.4 shared files
> Linking to sp version: 1.3-1
>
> But when I try to read a geotif file R gives me an error.
> I saw several times this issue in the web but I was unable to solve my
> problem.
> Anyone can help me please?
> Thanks
>
> Pierluigi
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
--
Roger Bivand
Department of Economics, Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; e-mail: Roger.Bivand using nhh.no
https://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en
More information about the R-sig-Geo
mailing list