<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}
-->
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;">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi Andrew,<br>
<br>
JSON would work. <br>
<br>
Re the untrustworthy data: that's a bummer. But perhaps certain dimensions are more trustworthy than others, and the user will know which ones are good for specific datasets. In those cases, getting to the header data is still a worthwhile effort.<br>
<br>
Oscar<br>
<br>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF590778" style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Andrew Bell [andrew.bell.ia@gmail.com]<br>
<b>Sent:</b> Wednesday, December 03, 2014 11:47 AM<br>
<b>To:</b> Kramer, Oscar<br>
<b>Cc:</b> pdal@lists.osgeo.org<br>
<b>Subject:</b> Re: [pdal] Obtaining "stats" without reading points<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Wed, Dec 3, 2014 at 9:51 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:0px 0px 0px 0.8ex; border-left-width:1px; border-left-color:rgb(204,204,204); border-left-style:solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:rgb(0,0,0); font-size:10pt">
This is related to Michael's issue post here: <a href="https://github.com/PDAL/PDAL/issues/569" target="_blank">
https://github.com/PDAL/PDAL/issues/569</a>. I need access to min/max bounds on quantities like intensity values, geographic bounds, etc (specifically in las files but should be generalized). I know those values are available in the las header. Yet it seems
 that to obtain these "stats", I need to employ a stats filter and read all the points. Is there another mechanism for quickly reading certain general properties (like bounds) that may be available from the header?<br>
</div>
</div>
</blockquote>
<div><br>
</div>
I've written the infrastructure to provide what you're asking, but I don't think I ever hooked it up to a command-line app.  I'll do this shortly.  But in the end, it doesn't matter if you can't trust the data in the header, as Michael suggests is often the
 case.  This really is too bad -- not much point in having the data if it's not correct.</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">We were talking about providing JSON output.  Would this work for you?<br>
<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>
</div>
</body>
</html>