<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hey Andrew,<br>
<br>
My conventional scan is simply iterating over each point in the pointview (represents all points in the file), latching min and max UTM E,N. I wrote a small test and it turns out that the StatsFilter does indeed return the exact same bounds as the scan. So
 I must have wires crossed somewhere else. <br>
<br>
Thanks anyway,<br>
Oscar<br>
<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF262695"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Andrew Bell [andrew.bell.ia@gmail.com]<br>
<b>Sent:</b> Friday, June 12, 2015 11:00<br>
<b>To:</b> Kramer, Oscar<br>
<b>Cc:</b> pdal@lists.osgeo.org<br>
<b>Subject:</b> Re: [pdal] Stats Filter<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Fri, Jun 12, 2015 at 3:32 AM, Kramer, Oscar <span dir="ltr">
<<a href="mailto:OKramer@radiantblue.com" target="_blank">OKramer@radiantblue.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi,<br>
<br>
I constructed a reader pipeline with a StatsFilter to determine the geographic bounds of a LAS file. The minimums and maximums (X, Y, Z) however were not the same as those that I latched in a conventional scan over all points. In fact, there were points over
 ten meters beyond the boundaries determined via StatsFilter. Does StatsFilter take a statistical sampling of points so that extremes might be missed? Is there some property I should set to make sure all points are considered?</div>
</div>
</blockquote>
<div><br>
</div>
<div>The stats filter does not statistically sample.  The behavior you're describing seems incorrect.  I'd need more information to investigate.  If you have a small file you could provide, I could look.  I'd also need to know how you "conventionally scanned"
 the points.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
</div>
-- <br>
<div class="gmail_signature">Andrew Bell<br>
<a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>