<div dir="ltr">This is caused by a bug that writes metadata for LAS scale/offset with excess precision. I've opened this issue to address the problem:
<a href="https://github.com/PDAL/PDAL/issues/2663">https://github.com/PDAL/PDAL/issues/2663</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 8, 2019 at 11:55 AM Andrew Bell <<a href="mailto:andrew.bell.ia@gmail.com">andrew.bell.ia@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 dir="auto">I suspect the scale of your input files differs. If this is the case, the scale values aren't forwarded. You'll have to set them manually.<div dir="auto"><br></div><div dir="auto">,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 8, 2019, 11:29 AM Karl North <<a href="mailto:karln@surdex.com" target="_blank">karln@surdex.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_-5540477273905292415m_1418185227468133647WordSection1">
<p class="MsoNormal">Good morning once again PDAL’ers. It’s a new day, and a new issue…<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m running a multi-step process using several executions of “pdal translate” and at the end assembling the various parts ( multiple LAS files ) from these executions into a final point cloud ( LAS file ) for delivery. All of the “pdal
translate” commands include the string : --writers.las.forward="all" in order to preserve the precision of the source data.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">My problem is that at the final step where I use “pdal pipeline” to merge the various parts, my file precision gets truncated from 0.001 to 0.01 units.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Below is a simple minimalist sample JSON file that I am running through “pdal pipeline” to do the merge operation. I have checked and all the input LAS files have 0.001 precision but the output LAS has only 0.01 precision. I expected
the forward=all line to preserve scales and offsets.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Please help. What am I missing?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">{<u></u><u></u></p>
<p class="MsoNormal"> "pipeline":[<u></u><u></u></p>
<p class="MsoNormal"> {<u></u><u></u></p>
<p class="MsoNormal"> "type":"readers.las",<u></u><u></u></p>
<p class="MsoNormal"> "tag":"WT_4447_596_step01b",<u></u><u></u></p>
<p class="MsoNormal"> "filename":"WT_4447_596_step01b.las"<u></u><u></u></p>
<p class="MsoNormal"> },<u></u><u></u></p>
<p class="MsoNormal"> {<u></u><u></u></p>
<p class="MsoNormal"> "type":"readers.las",<u></u><u></u></p>
<p class="MsoNormal"> "tag":"WT_4447_596_step02",<u></u><u></u></p>
<p class="MsoNormal"> "filename":"WT_4447_596_step02.las"<u></u><u></u></p>
<p class="MsoNormal"> },<u></u><u></u></p>
<p class="MsoNormal"> {<u></u><u></u></p>
<p class="MsoNormal"> "type":"writers.las",<u></u><u></u></p>
<p class="MsoNormal"> "inputs":["WT_4447_596_step01b","WT_4447_596_step02"],<u></u><u></u></p>
<p class="MsoNormal"> "forward":"all",<u></u><u></u></p>
<p class="MsoNormal"> "filename":"WT_4447_596_step03.las"<u></u><u></u></p>
<p class="MsoNormal"> }<u></u><u></u></p>
<p class="MsoNormal"> ]<u></u><u></u></p>
<p class="MsoNormal">}<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Karl<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" rel="noreferrer" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div>
</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>