[pdal] filters.stats output

Andrew Bell andrew.bell.ia at gmail.com
Wed Nov 30 15:56:05 PST 2016


I should have added the output:

$ bin/pdal info --stats myfile.las
--filters.stats.dimensions=Classification
--filters.stats.count=Classification
{
  "filename": "..\/test\/data\/las\/autzen_trim.las",
  "pdal_version": "1.3.0 (git-version: 3ca196)",
  "stats":
  {
    "statistic":
    [
      {
        "average": 1.237336364,
        "count": 110000,
        "counts":
        [
          "1.000000\/83893",
          "2.000000\/26107"
        ],
        "kurtosis": -4.857351452e+15,
        "maximum": 2,
        "minimum": 1,
        "name": "Classification",
        "position": 0,
        "skewness": 2.177023909e+15,
        "stddev": 0.4254905513,
        "variance": 0.1810422092
      }
    ]
  }
}

On Wed, Nov 30, 2016 at 5:55 PM, Andrew Bell <andrew.bell.ia at gmail.com>
wrote:

> I'm not sure exactly what you're doing, but if you're trying to get the
> data using the command-line application, perhaps something like this is
> what you want:
>
> $ bin/pdal info --stats myfile.las --filters.stats.dimensions=Classification
> --filters.stats.count=Classification
>
> On Wed, Nov 30, 2016 at 5:46 PM, Benjamin Gross <mbgross at unavco.org>
> wrote:
>
>> Hi all,
>>
>> I’m new to using pdal and have what I hope is a very basic question. I’m
>> trying to use filters.stats to output a summary of classes in a point cloud
>> and the number of points per class as suggested on
>> https://github.com/PDAL/PDAL/issues/955. But I’m not sure how to access
>> the output of filters.stats. I tried to set up a pipeline as in the
>> example, but the header in the output las doesn’t seem to include the new
>> aggregate stats. If I change the output to text or STDOUT I only get the
>> points back and furthermore it has all dimensions, not just those specified
>> by the filters.stats dimensions field. What am I missing? Thanks for the
>> help,
>>
>> Benjamin
>>
>>
>>
>> _______________________________________________
>> pdal mailing list
>> pdal at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/pdal
>>
>
>
>
> --
> Andrew Bell
> andrew.bell.ia at gmail.com
>



-- 
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20161130/a1fb2075/attachment-0001.html>


More information about the pdal mailing list