Skip to content

Potential conflict with latest Postgresql/Postgis versions? #123

Open
@crmora

Description

@crmora

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions