[pdal] filters.assign

Peter Lim peter.lim at gpslands.com
Tue Aug 17 03:09:43 PDT 2021


Hi,

 

I'm trying to generate a GeoTiff image from a LAS file using the sq. root of
Intensity dimension and the pipeline as follows:

 

[

    {

        "type":"readers.las",

        "filename":"input.las"

    },

    {

         "type": "filters.ferry",

         "dimensions":"Intensity=>IntnstySqRt"

    },                                                         

    {

        "type":"filters.assign",

        "assignment":"IntnstySqRt[:] = IntnstySqRt / 256"


    },

    {

        "type":"writers.gdal",

        "resolution": 0.05,

        "data_type":"uint8",

        "output_type":"mean",

         "dimension":"IntnstySqRt",

 
"gdalopts":"COMPRESS=JPEG,PHOTOMETRIC=YCBCR,BLOCKXSIZE=4096,BLOCKYSIZE=4096,
GDAL_CACHEMAX=8000,NUM_THREADS=ALL_CPUS,TILED=YES",                

        "bounds":"([19370,20527],[39571,40865])", 

        "filename":"output.tif"

    }                          

]

 

However, error occurred:

PDAL: filters.assign: Invalid value for argument 'assignment'.

 

Is it the correct use of filters.ferry and filters. assign.

 

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/20210817/13833617/attachment.html>


More information about the pdal mailing list