<div dir="ltr">PDAL writes LAS with scale of .01 by default (see <a href="https://pdal.io/stages/writers.las.html">https://pdal.io/stages/writers.las.html</a>). 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.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 15, 2019 at 2:01 AM Miguel Guerrero <<a href="mailto:g.miguel.guerrero.m@gmail.com">g.miguel.guerrero.m@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_5988181550085812905WordSection1"><p class="MsoNormal">Hello,</p><p class="MsoNormal">I am having troubles with a LAS file dataset. When I run the SORT filter in pipeline mode, I get the following message:</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">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.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">And the resulting LAS file are empty (1 KB size)</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The X, Y, Z scales for the LAS dataset is “0.10000000000000000555”.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I have run exactly the same filter on other datasets and it worked just fine. However, the other datasets where in a different projection.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Any idea why PDAL is throwing this message and writing no points to the resulting LAS file?</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Regards,</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Miguel</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986" target="_blank">Mail</a> for Windows 10</p><p class="MsoNormal"><u></u> <u></u></p></div></div>_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>