[pdal] How to generate a colored tif (RGB in 3 bands each) from colored las file

James Klassen klassen.js at gmail.com
Wed Sep 28 05:11:25 PDT 2022


One idea, probably not optimal:

Use 3 writers.gdal stages and output each band to a different file.  Then
use GDAL to assemble the three files into a single TIFF.  (gdalbuildvrt
-separate, followed by gdal_translate to make a tiff from the VRT).

On Wed, Sep 28, 2022 at 02:44 Peter Lim <peter.lim at gpslands.com> wrote:

> Using writers.gdal, we could specify only 1 dimension for 1 band to output
> a tif file.
>
>
>
> However, how do we specify 3 dimensions (Red, Green, Blue) for 3 bands to
> output a tif file.
>
>
>
>
>
> Thank you.
>
>
>
> Best Regards,
>
>
>
> Peter Lim
>
>
>
> *From:* Paul Harwood [mailto:runette at gmail.com]
> *Sent:* Wednesday, 28 September 2022 3:29 pm
> *To:* Peter Lim
> *Cc:* pdal
> *Subject:* Re: [pdal] How to generate a colored tif (RGB in 3 bands each)
> from colored las file
>
>
>
> That would be going from 3D to 2D - you probably need to specify how you
> want to reduce the dimensions?
>
>
>
> On Wed, 28 Sept 2022 at 03:55, Peter Lim <peter.lim at gpslands.com> wrote:
>
> Hi,
>
>
>
> May I know is there any way to use PDAL through pipeline to generate a
> colored tif (RGB in 3 bands each) from colored las file with RGB.
>
>
>
> Any help is greatly appreciated.
>
>
>
> Thank you.
>
>
>
> Best Regards,
>
>
>
> Peter Lim
>
>
>
>
>
> [image: width=]
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
> Virus-free.www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
> This e-mail is intended only for the named addressee(s) and may contain
> confidential and/or privileged information. If you are not the named
> addressee (or have received this e-mail in error), please notify the sender
> immediately. The unauthorized use, disclosure, distribution or copying of
> the contents in this e-mail is prohibited. Thank you.
>
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal
>
> This e-mail is intended only for the named addressee(s) and may contain
> confidential and/or privileged information. If you are not the named
> addressee (or have received this e-mail in error), please notify the sender
> immediately. The unauthorized use, disclosure, distribution or copying of
> the contents in this e-mail is prohibited. Thank you.
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20220928/e04cc2bb/attachment.htm>


More information about the pdal mailing list