[pdal] how to change the data type of an attribute(or field) when exporting the las file
Peter Lim
peter.lim at gpslands.com
Mon Aug 2 19:49:42 PDT 2021
Thank you Andrew for your advice!
Let me check it out.
Thank you.
Best Regards,
Peter
From: Andrew Bell [mailto:andrew.bell.ia at gmail.com]
Sent: Tuesday, 3 August 2021 9:43 am
To: Peter Lim
Cc: pdal
Subject: Re: [pdal] how to change the data type of an attribute(or field) when exporting the las file
Unless you use extra bytes, the LAS format does not support this, as the data types are fixed.
If you use extra bytes, you can use the 'extra_dims' option to choose the type of the output dimension.
You should read the LAS specification for details.
On Mon, Aug 2, 2021, 9:32 PM Peter Lim <peter.lim at gpslands.com> wrote:
Hi,
May I know how to change the data type of an attribute(or field) when exporting the las file.
For example, if the intensity is 2 byte integer, how do I square root the value and export as a 1 byte integer in a las file.
Please advise.
Thank you.
Best Regards,
Peter
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
Virus-free. <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> www.avast.com
_______________________________________________
pdal mailing list
pdal at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/pdal
--
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/20210803/5233d062/attachment.html>
More information about the pdal
mailing list