[pdal] Modify the resolution

Andrew Bell andrew.bell.ia at gmail.com
Thu May 9 06:36:09 PDT 2019


On Thu, May 9, 2019 at 9:15 AM thejus kambi <thejus.kambi at gmail.com> wrote:

> Hello Howard,
>
> I apologize for the stupid question.
>
> How is the scale value dependent on the resolution of the coordinates.
> Isn't the data type for coordinates double?
> I see in the help file "written value = (nominal value - offset) / scale".
> so does this mean the written value is changed from double to integer when
> it is being written to file?
>

Yes.  This is how the LAS file format is designed. See the specification
for details:

http://www.asprs.org/wp-content/uploads/2010/12/LAS_1_4_r13.pdf
>



> Also, Is it limited to PDAL or LAS files in general.
>

PDAL stores X/Y/Z as doubles internally.  The file representation depends
on the particular format.

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


More information about the pdal mailing list