[pdal] [EXTERNAL] Writing multi-band rasters

Newcomb, Doug doug_newcomb at fws.gov
Wed Apr 7 12:53:46 PDT 2021


Andreas,
Geotiff supports multiple bands.  If your workflow is set up to generate a single band at a time, you can use gdalbuildvrt https://gdal.org/programs/gdalbuildvrt.html to make a virtual multiband raster of the individual bands , then gdal_translate , https://gdal.org/programs/gdal_translate.html#gdal-translate to convert your virtual multiband raster into a multiband geotiff.
This would be the brute force wayt of doing things, it could be made more elegant using python.

Doug
________________________________
From: pdal <pdal-bounces at lists.osgeo.org> on behalf of Andreas Yankopolus <andreas at yank.to>
Sent: Wednesday, April 7, 2021 3:34 PM
To: pdal at lists.osgeo.org <pdal at lists.osgeo.org>
Subject: [EXTERNAL] [pdal] Writing multi-band rasters



 This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.



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

If not, is there a different format (IMG, etc.) that supports doing so?

Thanks,

Andreas
_______________________________________________
pdal mailing list
pdal at lists.osgeo.org
https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fpdal&data=04%7C01%7Cdoug_newcomb%40fws.gov%7Ce0576150eda641b64a0e08d8f9fdf663%7C0693b5ba4b184d7b9341f32f400a5494%7C0%7C0%7C637534216444777765%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=fybmqp9RrDkTjpYdjORTles%2BWeV%2FzOlOVD1527aSmL4%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20210407/c94d5b05/attachment.html>


More information about the pdal mailing list