terra icon indicating copy to clipboard operation
terra copied to clipboard

Warning message: PROJ: proj_identify: Cannot find proj.db (GDAL error 1)

Open Rapsodia86 opened this issue 2 years ago • 9 comments

After yesterday's update, I am getting that warning whenever loading raster or shapefile or saving to file, etc.

Rapsodia86 avatar Feb 23 '23 17:02 Rapsodia86

I think I fixed that with this https://github.com/rspatial/terra/commit/9a9c3e7504afafecf9b006cca6a0b01dd881c0ba

rhijmans avatar Feb 23 '23 17:02 rhijmans

Has that fix been pushed? I just downloaded terra dev again and installed it, but the warning is still there. Should I wait till tomorrow?

Rapsodia86 avatar Feb 23 '23 19:02 Rapsodia86

If it had not been pushed it would not exist on this site. Do you install from source (or from R-universe)? What OS?

rhijmans avatar Feb 23 '23 19:02 rhijmans

Win10; from here: install.packages('terra', repos='https://rspatial.r-universe.dev')

Rapsodia86 avatar Feb 23 '23 19:02 Rapsodia86

With R-Universe there can be a delay of a couple of hours before the package gets built. But in this case that is not the issue; because it was last build with that push. But somehow the build failed for windows (click on the red question mark on https://rspatial.r-universe.dev/terra ). I does not seem related to anything I can do, and I would hope this will resolve itself.

rhijmans avatar Feb 23 '23 19:02 rhijmans

I see that failure https://github.com/r-universe/rspatial/actions/runs/4255034198

Ok, will wait then! Should I be worried about that warning for now?

Rapsodia86 avatar Feb 23 '23 19:02 Rapsodia86

All looking good now.

rhijmans avatar Feb 23 '23 22:02 rhijmans

Yes, no more warnings! Thank you:)

Rapsodia86 avatar Feb 23 '23 22:02 Rapsodia86

Hello! I have installed today the recent dev terra 1.7-41 and the warning showed up again. I had it uninstalled and installed the regular terra 1.7-39 from CRAN and no more issues.

Rapsodia86 avatar Jul 19 '23 13:07 Rapsodia86