[osgeo4w-dev] [osgeo4w] #898: PDAL algs and pdal_wrench.exe don't work in latest QGIS versions
OSGeo4W
trac_osgeo4w at osgeo.org
Sun Dec 14 09:15:22 PST 2025
#898: PDAL algs and pdal_wrench.exe don't work in latest QGIS versions
------------------------+----------------------------
Reporter: andreaerdna | Owner: osgeo4w-dev@…
Type: defect | Status: new
Priority: normal | Component: Package
Version: | Resolution:
Keywords: |
------------------------+----------------------------
Description changed by andreaerdna:
Old description:
> PDAL processing algorithms (e.g. "Export to raster" or "Export to raster
> (using triangulation") and pdal_wrench.exe don't work in latest QGIS LTR
> 3.40.13, QGIS 3.44.5 and QGIS 3.99.0-Master.
>
> The algorithm's execution log reports:
>
> {{{
> QGIS version: 3.40.13-Bratislava
> QGIS code revision: 6c6bebb0e7
> Qt version: 5.15.13
> Python version: 3.12.12
> GDAL version: 3.12.0
> GEOS version: 3.13.1-CAPI-1.19.2
> PROJ version: Rel. 9.7.0, September 1st, 2025
> PDAL version: 2.9.0 (git-version: 42b180)
> Algorithm started at: 2025-12-14T11:57:59
> Algorithm 'Export to raster' starting…
> Input parameters:
> { 'ATTRIBUTE' : 'Z', 'FILTER_EXPRESSION' : '', 'FILTER_EXTENT' : None,
> 'INPUT' :
> 'copc://C:/Users/Andrea/Downloads/2034000_7275500_LIDAR2021.copc.laz',
> 'ORIGIN_X' : None, 'ORIGIN_Y' : None, 'OUTPUT' : 'TEMPORARY_OUTPUT',
> 'RESOLUTION' : 1, 'TILE_SIZE' : 1000 }
>
> wrench command: C:/OSE37B~1/apps/qgis-ltr/./pdal_wrench.exe to_raster
> --input=C:/Users/Andrea/Downloads/2034000_7275500_LIDAR2021.copc.laz
> --output=C:/Users/Andrea/AppData/Local/Temp/processing_TfzXfh/017254694c134706ad41d27cb61c8738/OUTPUT.tif
> --attribute=Z --resolution=1 --tile-size=1000 --threads=4
> 0....10....20....30....40....50....60....70....80....90....100 - done.
> Warning 1: Can't open
> C:/Users/Andrea/AppData/Local/Temp/processing_TfzXfh/017254694c134706ad41d27cb61c8738\OUTPUT\0_0.tif.
> Skipping it
>
> Process completed successfully
> Execution completed in 2.43 seconds
> Results:
> OUTPUT:
> C:/Users/Andrea/AppData/Local/Temp/processing_TfzXfh/017254694c134706ad41d27cb61c8738/OUTPUT.tif
>
> Loading resulting layers
> The following layers were not correctly generated.
> •
> C:/Users/Andrea/AppData/Local/Temp/processing_TfzXfh/017254694c134706ad41d27cb61c8738/OUTPUT.tif
> You can check the 'Log Messages Panel' in QGIS main window to find more
> information about the execution of the algorithm.
> }}}
>
> The issues occurs also directly executing pdal_wrench in the OSGeo4W
> Shell:
>
> {{{
> pdal_wrench.exe to_raster
> --input=C:/Users/Andrea/Downloads/2034000_7275500_LIDAR2021.copc.laz
> --output=C:/Users/Andrea/Downloads/exportedcopc.tif --attribute=Z
> --resolution=1 --tile-size=1000 --threads=4
> 0....10....20....30....40....50....60....70....80....90....100 - done.
> Warning 1: Can't open C:/Users/Andrea/Downloads\exportedcopc\0_0.tif.
> Skipping it
> }}}
>
> The issue doesn't occur if pdal_wrench.exe, provided by the qgis-
> ltr-3.40.13-1 package, is replaced with the one from the qgis-
> ltr-3.40.12-1 package.
>
> I suppose the issue may be due to the fact that while pdal_wrench.exe in
> qgis-ltr-3.40.13-1 is built against gdal312, pdalcpp.dll (which
> pdal_wrench.exe depends on) is still build against gdal311.
New description:
Some PDAL processing algorithms (e.g. "Export to raster" or "Export to
raster (using triangulation") and pdal_wrench.exe don't work in latest
QGIS LTR 3.40.13, QGIS 3.44.5 and QGIS 3.99.0-Master when the input layer
is a COPC file.
The algorithm's execution log reports:
{{{
QGIS version: 3.40.13-Bratislava
QGIS code revision: 6c6bebb0e7
Qt version: 5.15.13
Python version: 3.12.12
GDAL version: 3.12.0
GEOS version: 3.13.1-CAPI-1.19.2
PROJ version: Rel. 9.7.0, September 1st, 2025
PDAL version: 2.9.0 (git-version: 42b180)
Algorithm started at: 2025-12-14T11:57:59
Algorithm 'Export to raster' starting…
Input parameters:
{ 'ATTRIBUTE' : 'Z', 'FILTER_EXPRESSION' : '', 'FILTER_EXTENT' : None,
'INPUT' :
'copc://C:/Users/Andrea/Downloads/2034000_7275500_LIDAR2021.copc.laz',
'ORIGIN_X' : None, 'ORIGIN_Y' : None, 'OUTPUT' : 'TEMPORARY_OUTPUT',
'RESOLUTION' : 1, 'TILE_SIZE' : 1000 }
wrench command: C:/OSE37B~1/apps/qgis-ltr/./pdal_wrench.exe to_raster
--input=C:/Users/Andrea/Downloads/2034000_7275500_LIDAR2021.copc.laz
--output=C:/Users/Andrea/AppData/Local/Temp/processing_TfzXfh/017254694c134706ad41d27cb61c8738/OUTPUT.tif
--attribute=Z --resolution=1 --tile-size=1000 --threads=4
0....10....20....30....40....50....60....70....80....90....100 - done.
Warning 1: Can't open
C:/Users/Andrea/AppData/Local/Temp/processing_TfzXfh/017254694c134706ad41d27cb61c8738\OUTPUT\0_0.tif.
Skipping it
Process completed successfully
Execution completed in 2.43 seconds
Results:
OUTPUT:
C:/Users/Andrea/AppData/Local/Temp/processing_TfzXfh/017254694c134706ad41d27cb61c8738/OUTPUT.tif
Loading resulting layers
The following layers were not correctly generated.
•
C:/Users/Andrea/AppData/Local/Temp/processing_TfzXfh/017254694c134706ad41d27cb61c8738/OUTPUT.tif
You can check the 'Log Messages Panel' in QGIS main window to find more
information about the execution of the algorithm.
}}}
The issues occurs also directly executing pdal_wrench in the OSGeo4W
Shell:
{{{
pdal_wrench.exe to_raster
--input=C:/Users/Andrea/Downloads/2034000_7275500_LIDAR2021.copc.laz
--output=C:/Users/Andrea/Downloads/exportedcopc.tif --attribute=Z
--resolution=1 --tile-size=1000 --threads=4
0....10....20....30....40....50....60....70....80....90....100 - done.
Warning 1: Can't open C:/Users/Andrea/Downloads\exportedcopc\0_0.tif.
Skipping it
}}}
The issue doesn't occur if pdal_wrench.exe, provided by the qgis-
ltr-3.40.13-1 package, is replaced with the one from the qgis-
ltr-3.40.12-1 package.
I suppose the issue may be due to the fact that while pdal_wrench.exe in
qgis-ltr-3.40.13-1 is built against gdal312, pdalcpp.dll (which
pdal_wrench.exe depends on) is still build against gdal311.
See also https://github.com/qgis/QGIS/issues/61343.
--
--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/898#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
More information about the osgeo4w-dev
mailing list