[pdal] Obtaining "stats" without reading points

David Burken dburken at comcast.net
Wed Dec 3 11:55:08 PST 2014


On las data I had, the scanned min, max values were exactly the same as 
the header.  Can't say I check a lot of data though.
Dave


On 12/3/14, 2:11 PM, Kramer, Oscar wrote:
> Hi Andrew,
>
> JSON would work.
>
> 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.
>
> Oscar
>
> ------------------------------------------------------------------------
> *From:* Andrew Bell [andrew.bell.ia at gmail.com]
> *Sent:* Wednesday, December 03, 2014 11:47 AM
> *To:* Kramer, Oscar
> *Cc:* pdal at lists.osgeo.org
> *Subject:* Re: [pdal] Obtaining "stats" without reading points
>
> On Wed, Dec 3, 2014 at 9:51 AM, Kramer, Oscar <OKramer at radiantblue.com 
> <mailto:OKramer at radiantblue.com>> wrote:
>
>     This is related to Michael's issue post here:
>     https://github.com/PDAL/PDAL/issues/569
>     <https://github.com/PDAL/PDAL/issues/569>. 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?
>
>
> 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.
>
> We were talking about providing JSON output.  Would this work for you?
>
> -- 
> Andrew Bell
> andrew.bell.ia at gmail.com <mailto:andrew.bell.ia at gmail.com>
>
>
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pdal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20141203/f67000ed/attachment.html>


More information about the pdal mailing list