Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential conflict with latest Postgresql/Postgis versions? #123

Open
crmora opened this issue Mar 18, 2025 · 0 comments
Open

Potential conflict with latest Postgresql/Postgis versions? #123

crmora opened this issue Mar 18, 2025 · 0 comments

Comments

@crmora
Copy link

crmora commented Mar 18, 2025

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

@crmora crmora changed the title Potantial conflict with latest Postgresql/Postgis versions? Potential conflict with latest Postgresql/Postgis versions? Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant