<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 20, 2018 at 7:59 PM Rose Phillips <<a href="mailto:RPhillips@linz.govt.nz">RPhillips@linz.govt.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-NZ" link="#0563C1" vlink="#954F72">
<div class="m_-461593962139038511WordSection1">
<p class="MsoNormal">Hi guys,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hope you’re having a good week <span style="font-family:Wingdings">
J</span> I was wondering if there was a way to split an input LAS file into multiple LAS outputs, using shapefile geometry boundaries (and conserving the number of total points)?<br>
<br>
I’ve looked at the example below and noticed it was for one output only [pdal pipeline ] ;<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><a href="https://pdal.io/workshop/exercises/analysis/clipping/clipping.html" target="_blank">https://pdal.io/workshop/exercises/analysis/clipping/clipping.html</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Other options I’ve looked at;<u></u><u></u></p>
<p class="MsoNormal">pdal split seems to only split by number of points?<u></u><u></u></p>
<p class="MsoNormal">pdal tile seems to only give square tile outputs?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Please let me know if I’ve overlooked something.</p></div></div></blockquote><div><br></div><div>I don't think we do this directly, though it has been discussed.  You can pass the geometries into filters.crop, but you need to pass WKT and then use a writer that will write multiple views (LAS, BPF, OGR, GDAL).  If your geometries don't overlap and overlap all points, you should get the same number on output as on input.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div></div>