PDAL/wrench

Crashes when exporting to raster

kleja opened this issue · 0 comments

kleja commented

Two crashes while specifying extent. And one example of (almost flawless) execution.

Runnin on Manjaro Linux
QGIS-versjon: 3.32.0-Lima
Qt-versjon: 5.15.10
Python-versjon: 3.11.3
GDAL-versjon: 3.7.0
GEOS-versjon: 3.11.2-CAPI-1.17.2
PROJ-versjon: Rel. 9.2.1, June 1st, 2023
PDAL-versjon: 2.5.5 (git-version: Release)

  1. log-output when drawing extent in window
    Inndataparametre:
    { 'ATTRIBUTE' : 'Z', 'FILTER_EXPRESSION' : 'Classification = 2 ', 'FILTER_EXTENT' : '262721.579400000,268085.082200000,6578236.486600000,6583358.773700000 [EPSG:25832]', 'INPUT' : '/home/.../2023_UTSIRA/copc_merged.laz', 'ORIGIN_X' : None, 'ORIGIN_Y' : None, 'OUTPUT' : '/home/.../2023_UTSIRA/1M_DEM.tif', 'RESOLUTION' : 1, 'TILE_SIZE' : 1000 }

PDAL wrench-kommando:/usr/lib/qgis/pdal_wrench to_raster --input=/home/.../2023_UTSIRA/copc_merged.laz --output=/home/.../2023_UTSIRA/1M_DEM.tif --attribute=Z --resolution=1 --tile-size=1000 "--filter=Classification == 2" "--bounds=([262722, 268085], [6.57824e+06, 6.58336e+06])" --threads=24

pdal_wrench: /usr/src/debug/pdal/PDAL-2.5.5-src/pdal/util/Bounds.cpp:93: pdal::BOX2D& pdal::BOX2D::grow(double): Assertion `valid()' failed.

Prosessen ble plutselig avsluttet
Execution failed after 0.16 sekunder


  1. log-output when specifying current map window as extent
    Inndataparametre:
    { 'ATTRIBUTE' : 'Z', 'FILTER_EXPRESSION' : 'Classification = 2 ', 'FILTER_EXTENT' : '262191.850700000,268978.999300000,6578175.000200000,6583424.989800000 [EPSG:25832]', 'INPUT' : '/home/.../2023_UTSIRA/copc_merged.laz', 'ORIGIN_X' : None, 'ORIGIN_Y' : None, 'OUTPUT' : '/home/.../2023_UTSIRA/1M_DEM.tif', 'RESOLUTION' : 1, 'TILE_SIZE' : 1000 }

PDAL wrench-kommando:/usr/lib/qgis/pdal_wrench to_raster --input=/home/.../2023_UTSIRA/copc_merged.laz --output=/home/.../2023_UTSIRA/1M_DEM.tif --attribute=Z --resolution=1 --tile-size=1000 "--filter=Classification == 2" "--bounds=([262192, 268979], [6.57818e+06, 6.58342e+06])" --threads=24

pdal_wrench: /usr/src/debug/pdal/PDAL-2.5.5-src/pdal/util/Bounds.cpp:93: pdal::BOX2D& pdal::BOX2D::grow(double): Assertion `valid()' failed.

Prosessen ble plutselig avsluttet
Execution failed after 0.15 sekunder


Finally, the same dataset but this time without specifying extent:
Inndataparametre:
{ 'ATTRIBUTE' : 'Z', 'FILTER_EXPRESSION' : 'Classification = 2 ', 'FILTER_EXTENT' : None, 'INPUT' : '/home/.../2023_UTSIRA/copc_merged.laz', 'ORIGIN_X' : None, 'ORIGIN_Y' : None, 'OUTPUT' : '/home/.../2023_UTSIRA/1M_DEM.tif', 'RESOLUTION' : 1, 'TILE_SIZE' : 1000 }

PDAL wrench-kommando:/usr/lib/qgis/pdal_wrench to_raster --input=/home/.../2023_UTSIRA/copc_merged.laz --output=/home/.../2023_UTSIRA/1M_DEM.tif --attribute=Z --resolution=1 --tile-size=1000 "--filter=Classification == 2" --threads=24
(writers.gdal Error) GDAL failure (1) libpodofo.so.0.9.8: cannot open shared object file: No such file or directory
(writers.gdal Error) GDAL failure (1) libpodofo.so.0.9.8: cannot open shared object file: No such file or directory
(writers.gdal Error) GDAL failure (1) libpodofo.so.0.9.8: cannot open shared object file: No such file or directory
(writers.gdal Error) GDAL failure (1) libpodofo.so.0.9.8: cannot open shared object file: No such file or directory
0....10....20....30....40....50....60....70....80....90....100 - done.

Prosessen er fullført
Execution completed in 84.02 sekunder (1 minutt 24 sekunder)
Resultat:
{'OUTPUT': '/home/.../2023_UTSIRA/1M_DEM.tif'}

This - despite the GDAL errors - actually produces a DEM rasterfile in the correct location.

All three were from the same session. Input and output set for first attempt, after that the parameters were changed in the same session.