Open jenskastensson opened 2 months ago
Hello Jens
Sorry for the late answer, I have been working on other projects this September and my Github notifications seems broken...
Thank you very much for trying out Cassini! Several people had the same problem when trying to run Cassini on windows. It seems to be related with the Python parts of GDAL, the library used to process raster and vector data. I'll investigate on this, but most likely I'll provide a Dockerized version of Cassini to ensure reliable execution on every platforms.
Thanks @NicoRio42 i did some research and one problem was a missing GDAL drive: It was fixed with conda install -c conda-forge libgdal
After installing GDAL drivers, there was an issue with the gdal_fillnodata function
`(cassini) PS C:\Users\jeka\Documents\Orienteering\Cassini\caussols> C:\Users\jeka\Documents\Orienteering\Cassini\cassini\target\debug\cassini.exe C:\Users\jeka\Documents\Orienteering\Cassini\caussols\LHD_FXX_0617_6154_PTS_C_LAMB93_IGN69.copc.laz --skip-vector Executing PDAL pipeline -> Done in 65.7s Rendering vegetation -> Done in 13.3s Generating dem with bufferGDAL: GDALOpen(out\tile\dem-with-buffer.tif, this=000002709D1BF510) succeeds as GTiff. GDAL: QuietDelete(out\tile\dem-with-buffer.tif) invoking Delete() GDAL: GDALOpen(out\tile\dem-with-buffer.tif, this=000002709AAF3650) succeeds as GTiff. GDAL: GDALDefaultOverviews::OverviewScan() GDAL: GDALClose(out\tile\dem-with-buffer.tif, this=000002709AAF3650) GDAL: GDALDriver::Create(GTiff,out\tile\dem-with-buffer.tif,1400,1400,1,Float64,0000000000000000) GDAL: GDALClose(out\tile\dem-with-buffer.tif, this=000002709CBDDFC0) Traceback (most recent call last): File "C:\Users\jeka\miniconda3\envs\cassini\Lib\site-packages\osgeo_utils\auxiliary\gdal_argparse.py", line 229, in main self.doit(kwargs) File "C:\Users\jeka\miniconda3\envs\cassini\Lib\site-packages\osgeo_utils\gdal_fillnodata.py", line 286, in doit return gdal_fillnodata(kwargs)``
Interesting, thanks for the details.
Hello @jenskastensson
Could you try to run the following command inside your conda environment?
pip install GDAL==<GDAL_VERSION>
You'll have to replace gdalinfo --version
This will install the GDAL python bindings, which some GDAL commands (including gdal_fillnodata) might need to properly work.
Thanks!
It looks like it is already installed:
(base) PS C:\Users\jeka> conda activate cassini
(cassini) PS C:\Users\jeka> gdalinfo --version
GDAL 3.9.2, released 2024/08/13
(cassini) PS C:\Users\jeka> pip install GDAL==3.9.2
Requirement already satisfied: GDAL==3.9.2 in c:\users\jeka\miniconda3\envs\cassini\lib\site-packages (3.9.2)
Indeed...
In the meantime, until I fix Cassini on Windows, I just set up a Docker image that you can use to execute Cassini on Windows. Here is the documentation, let me know if you encounter any problems.
Caussols!
Hello, thank you very much for this development, I'm really interested in trying Cassini out! I have downloaded this tile linkto-ign.fr (Caussols, Alpes-Maritimes, France)
When I process the .laz file with Cassini under Windows, I'm getting a RT error, see below. What am I doing wrong here and how to troubleshoot it? (I've opted out for OSM data as it failed)
Best regards Jens