[pdal] Y_scale issue for LAS file
Miguel Guerrero
g.miguel.guerrero.m at gmail.com
Wed Oct 16 09:25:12 PDT 2019
Thanks Andrew!
You were right. I applied the scale obtained from the LAS header and I am
getting good results.
I am not sure if you have the answer for this one but, why are the
resulting LAS files (after sorting) a little bit bigger in size than the
originals?
Once again thanks for your help.
Miguel
On Tue, Oct 15, 2019 at 3:57 AM Andrew Bell <andrew.bell.ia at gmail.com>
wrote:
> PDAL writes LAS with scale of .01 by default (see
> https://pdal.io/stages/writers.las.html). I assume that using more
> precision than your input would cause an overflow that's detected by the
> system. You should set the output scale that you desire.
>
> On Tue, Oct 15, 2019 at 2:01 AM Miguel Guerrero <
> g.miguel.guerrero.m at gmail.com> wrote:
>
>> Hello,
>>
>> I am having troubles with a LAS file dataset. When I run the SORT filter
>> in pipeline mode, I get the following message:
>>
>>
>>
>> PDAL: writers.las: Unable to convert scaled value (2663397360) to int32
>> for dimension 'Y' when writing LAS/LAZ file
>> \\sfcad8\E\16028101_PowerEngineers_TWE\NVE\00_SORTED\pt000002.las.
>>
>>
>>
>> And the resulting LAS file are empty (1 KB size)
>>
>>
>>
>> The X, Y, Z scales for the LAS dataset is “0.10000000000000000555”.
>>
>>
>>
>> I have run exactly the same filter on other datasets and it worked just
>> fine. However, the other datasets where in a different projection.
>>
>>
>>
>> Any idea why PDAL is throwing this message and writing no points to the
>> resulting LAS file?
>>
>>
>>
>> Regards,
>>
>>
>>
>> Miguel
>>
>>
>>
>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>> Windows 10
>>
>>
>> _______________________________________________
>> pdal mailing list
>> pdal at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/pdal
>
>
>
> --
> Andrew Bell
> andrew.bell.ia at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20191016/60dec099/attachment.html>
More information about the pdal
mailing list