[pdal] Writing multi-band rasters

Andrew Bell andrew.bell.ia at gmail.com
Wed Apr 7 13:50:59 PDT 2021


On Wed, Apr 7, 2021 at 3:46 PM Andreas Yankopolus <andreas at yank.to> wrote:

> Is it possible to write multiple dimensions to a raster such as a GeoTIFF?
> For example: Z, Classification, Intensity, Red, Green, and Blue.
>

PDAL doesn't support this, but you can chain writers to get separate
rasters. I assume GDAL has some VRT magic to merge the separate tiffs into
a multi-band:

[
    "/pdal/test/data/las/autzen_trim.las",
    {
        "type":"writers.gdal",
        "dimension": "Red",
        "filename": "red.tif",
        "output_type": "idw",
        "resolution": 100
    },
    {
        "type":"writers.gdal",
        "dimension": "Green",
        "filename": "green.tif",
        "output_type": "idw",
        "resolution": 100
    }
]

--
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20210407/453f46ca/attachment-0001.html>


More information about the pdal mailing list