[pdal] 'PDAL: vector<T> too long' error when Using writers.gdal with bounds option in PDAL 2.3.0

Peter Lim peter.lim at gpslands.com
Thu Sep 2 23:24:40 PDT 2021


Hi,

 I'm trying to generate a GeoTiff image from a LAS file using PDAL 2.3.0
(git-version: Release) and pipeline as follows:

 [

    {

        "type":"readers.las",

        "filename":"input.las"

    },

    {

        "type":"writers.gdal",

        "resolution": 0.05,

        "data_type":"uint16",

        "output_type":"mean",

        "dimension":"Intensity",

 
"gdalopts":"COMPRESS=ZSTD,ZSTD_LEVEL=1,NUM_THREADS=ALL_CPUS,TILED=YES",


        "bounds":"([372595,374062],[140751,142246])",

        "filename":"output.tif"

    }                          

]

 

There is an error: PDAL: vector<T> too long.

 

This error was not there when I used PDAL 2.1.0.

 

When I removed the "bounds" option, the error is gone, but took much longer
time to process than before.

 

Please advise. 

 

Thank you.

 

Best Regards,

 

Peter Lim

GPS Lands (S) Pte Ltd

 



-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20210903/3e1dae47/attachment.html>


More information about the pdal mailing list