<div dir="ltr">I should have added the output:<div><br></div><div><div>$ bin/pdal info --stats myfile.las --filters.stats.dimensions=Classification --filters.stats.count=Classification</div><div>{</div><div>  "filename": "..\/test\/data\/las\/autzen_trim.las",</div><div>  "pdal_version": "1.3.0 (git-version: 3ca196)",</div><div>  "stats":</div><div>  {</div><div>    "statistic":</div><div>    [</div><div>      {</div><div>        "average": 1.237336364,</div><div>        "count": 110000,</div><div>        "counts":</div><div>        [</div><div>          "1.000000\/83893",</div><div>          "2.000000\/26107"</div><div>        ],</div><div>        "kurtosis": -4.857351452e+15,</div><div>        "maximum": 2,</div><div>        "minimum": 1,</div><div>        "name": "Classification",</div><div>        "position": 0,</div><div>        "skewness": 2.177023909e+15,</div><div>        "stddev": 0.4254905513,</div><div>        "variance": 0.1810422092</div><div>      }</div><div>    ]</div><div>  }</div><div>}</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 30, 2016 at 5:55 PM, Andrew Bell <span dir="ltr"><<a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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:<div><br></div><div>$ bin/pdal info --stats myfile.las --filters.stats.dimensions=<wbr>Classification --filters.stats.count=<wbr>Classification<br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Nov 30, 2016 at 5:46 PM, Benjamin Gross <span dir="ltr"><<a href="mailto:mbgross@unavco.org" target="_blank">mbgross@unavco.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word">Hi all,<div><br></div><div>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 <a href="https://github.com/PDAL/PDAL/issues/955" target="_blank">https://github.com/PDAL/PDA<wbr>L/issues/955</a>. 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,</div><div><br></div><div>Benjamin</div><div><br></div><div><br></div></div><br></div></div>______________________________<wbr>_________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/pdal</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-69037539808797128gmail_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>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></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>