Description
Hi there
I'm getting the following error:
library(RStoolbox)
This is version 1.0.2.1 of RStoolbox
Error: package or namespace load failed for ‘RStoolbox’:
.onAttach failed in attachNamespace() for 'RStoolbox', details:
call: NULL
error: [rast] empty srs
In addition: Warning message:
PROJ: proj_create_from_database: C:\Program Files\PostgreSQL\17\share\contrib\postgis-3.5\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 4 is expected. It comes from another PROJ installation. (GDAL error 1)
I'm running Windows 11 Pro with GEOS 3.13.0, GDAL 3.10.1, PROJ 9.5.1 Just to test the hypothesis, I uninstalled Postgresql/Postgis and R. Then I installed R only and RStoolbox. It worked. I then installed Postgresql/Postgis again, and it gave me the same error.
Any ideas?
Thanks