<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jul 24, 2017 at 10:15 AM, GUIMMARA, Sébastien (External) <span dir="ltr"><<a href="mailto:sebastien.guimmara.external@airbus.com" target="_blank">sebastien.guimmara.external@airbus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div lang="FR" link="blue" vlink="purple">
<p class="m_59829977786488535067050b90-a467-4d62-be36-e5ff8cdc9d4b"></p>
<div class="m_598299777864885350WordSection1">
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">I stumbled upon a strange behaviour using the crop filter. The results are very different when I specify a spatial reference in the LAS reader, and when I omit one.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">When I specify a spatial reference (EPSG 2286, units in feet), the crop consumes all points, leaving an empty dataset, even if the cropping bounds are equal to the actual dataset bounds (given by pdal info). However,
 when I omit the spatial reference, the crop filter behaves as expected.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I use a cropping rectangle via the bounds parameter, and the values are expressed in the file SRS (EPSG 2286).</span></p></div></div></blockquote><div><br></div><div>I'd need to investigate to understand the behavior.  If you have a source file with a few points and a sample pipeline/command line, I can check.  You can open a ticket.</div><div><br></div><div>I'll note that there is an option, a_srs, for the crop filter that specifies the SRS for the cropping geometry (it's missing in the documentation).  However, if you don't provide this option, the code assumes that it's in the SRS of the input data, so it shouldn't be an issue in this case if I understand.</div><div><br></div></div>-- <br><div 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></div>