Code Monkey home page Code Monkey logo

Comments (4)

BGR-EGHA avatar BGR-EGHA commented on July 3, 2024

Hi Paul,

it looks like you are using the test dataset, which should work.

The steps to create a project with the test data are:

  1. Specify the project location (with dialog)
  2. Specify the Project name
  3. Load the AW3D30.tif raster from the test dataset (with dialog) (this correctly fills EPSG code, Extent and cell size information)
  4. Click "Create project"

If you deviated from the steps above, please tell me what you did differently.
Did you change any of the Spatial Reference fields by hand?

If you followed the steps above and it still does not work:
Which version of python do you use?
What is the output of python -m pip freeze ran from inside your virtual environment for LSAT.

If you do not already, consider using the current git version of LSAT and not the installer, as the one currently available is not up to date.

Kind regards
Nick

from lsat.

paulest avatar paulest commented on July 3, 2024

Hi Nick, thanks for your response.

I have followed the steps you indicate using the dialogs and without entering anything by hand, however the Extent boxes appear in red (same as when I consulted previously).
I attach a screenshot of the message that appeared in PowerShell and also a screenshot of freeze command. My version of Python is 3.9.1

I installed the software both ways (with the installer and via Python) however I get the same Extent error.

Thanks for your help!

Best regards.
Paul

Python_freeze_screen
Powershell_screen

from lsat.

BGR-EGHA avatar BGR-EGHA commented on July 3, 2024

Hi Paul,

From your last screenshot it looks like LSAT/GDAL searches in the wrong directory for proj.db. After installing the GDAL .whl you should have proj.db in your virtual environment:
\venv\Lib\site-packages\osgeo\data\proj\proj.db
When I rename/remove that file I can recreate your issue.

The wrong path in the PROJ_LIB Environment variable could be related to the fact that you start LSAT as Admin.
Others had similiar problems (https://stackoverflow.com/questions/56764046/gdal-ogr2ogr-cannot-find-proj-db-error) where changing the environment variable seemed to help.
I did not have PROJ_LIB set and LSAT/GDAL defaulted to the path above.

Hope that helps.

Best regards,
Nick

from lsat.

paulest avatar paulest commented on July 3, 2024

Hi Nick,

I have solved the problem. The configuration of the PROJ_LIB environment variable was wrong, but by changing it, I was able to run the software correctly.

Thank you very much for your help!

Best regards.
Paul

from lsat.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.