<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Andreas,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Geotiff supports multiple bands. If your workflow is set up to generate a single band at a time, you can use gdalbuildvrt <a href="https://gdal.org/programs/gdalbuildvrt.html" id="LPlnk">https://gdal.org/programs/gdalbuildvrt.html</a> to make a virtual multiband
raster of the individual bands , then gdal_translate , <a href="https://gdal.org/programs/gdal_translate.html#gdal-translate" id="LPlnk706764">https://gdal.org/programs/gdal_translate.html#gdal-translate</a> to convert your virtual multiband raster into a
multiband geotiff.</div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
This would be the brute force wayt of doing things, it could be made more elegant using python.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Doug </div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> pdal <pdal-bounces@lists.osgeo.org> on behalf of Andreas Yankopolus <andreas@yank.to><br>
<b>Sent:</b> Wednesday, April 7, 2021 3:34 PM<br>
<b>To:</b> pdal@lists.osgeo.org <pdal@lists.osgeo.org><br>
<b>Subject:</b> [EXTERNAL] [pdal] Writing multi-band rasters</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText"><br>
<br>
This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.<br>
<br>
<br>
<br>
Is it possible to write multiple dimensions to a raster such as a GeoTIFF? For example: Z, Classification, Intensity, Red, Green, and Blue.<br>
<br>
If not, is there a different format (IMG, etc.) that supports doing so?<br>
<br>
Thanks,<br>
<br>
Andreas<br>
_______________________________________________<br>
pdal mailing list<br>
pdal@lists.osgeo.org<br>
<a href="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">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</a><br>
</div>
</span></font></div>
</body>
</html>