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

Creating project - Cannot find proj.db #29

Closed
vcuervo opened this issue Aug 2, 2022 · 3 comments
Closed

Creating project - Cannot find proj.db #29

vcuervo opened this issue Aug 2, 2022 · 3 comments

Comments

@vcuervo
Copy link

vcuervo commented Aug 2, 2022

Hi BGR,

I managed to install LSAT, but I'm having the following error when creating a new project:
(lsat) C:\Users\vcuer\Documents\LSAT-main>python C:\Users\vcuer\Documents\LSAT-main\LSAT-main\startMenu_main.py
ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db
ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db
(lsat) C:\Users\vcuer\Documents\LSAT-main>

Any thoughts about what the error might be?

  • My dem is in EPSG 32610 in tiff format. I tried with the testing dataset and got the same issue.
  • My GDAL file is in the same directory C:\Users\vcuer\Documents\LSAT-main\LSAT-main\GDAL-3.4.3-cp310-cp310-win_amd64.whl
    I attached the yml for reference.
    Thanks!
    lsat.zip
@BGR-EGHA
Copy link
Owner

BGR-EGHA commented Aug 3, 2022

Hi vcuervo,

sounds to me like you experience the same issue as #7.
My answer there (#7 (comment)) should fix your issue.

EPSG 32610 should not be the issue here, as GDAL supports it.
After installing the .whl file you can delete it. You don't need to keep it around.

Kind regards
Nick

@vcuervo
Copy link
Author

vcuervo commented Aug 3, 2022

Hi Nick -

It seems that setting the PROJ_LIB variable worked as I'm not getting that error. However, I'm getting this new one:
TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Any thoughts?
image

@vcuervo
Copy link
Author

vcuervo commented Aug 3, 2022

Nick,

I solved the above problem. Thanks!

@vcuervo vcuervo closed this as completed Aug 3, 2022
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

2 participants