<div dir="ltr"><div>Hello Karl,</div><div><br></div><div>By default the scale value used in PDAL is 0.01. So if you need higher precision you may want to provide "scale_x", "scale_y" and "scale_z" parameters in your input and output.</div><div><br></div><div>Warm Regards,</div><div>Thejus</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 8, 2019 at 10:29 AM Karl North <<a href="mailto:karln@surdex.com">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_-8167995878416518297WordSection1">
<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" 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>