<div dir="ltr">The EPT reader currently doesn't respect the `count` option at all.  This is a default reader option inherited by all readers, which is why it appears in the docs even though the EPT reader itself doesn't use it.<div><br></div><div>For now, the only possibility would be limiting EPT reads by bounds or resolution, and then using the head filter to limit the point count exactly.</div><div><br></div><div>This would be worthy of an issue on PDAL's github if you'd like to track the status of adding support for the `count` option by the EPT reader.</div><div><br></div><div>- Connor</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 21, 2019 at 6:24 PM Matt Beckley <<a href="mailto:beckley@unavco.org">beckley@unavco.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>I would like to limit the number of points read from a .ept file - or at least get a notification if the number of points is greater than a certain number.  The "count" option seems to be what I want, but it doesn't seem to work as I expected.  Here is my pipeline:</div><div><br></div><div>





<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">{<br>  "pipeline": [<br>    {<br>      "type": "readers.ept",<br>        "filename": "ept://<a href="https://s3-us-west-2.amazonaws.com/usgs-lidar-public/USGS_LPC_MD_VA_Sandy_NCR_2014_LAS_2015" target="_blank">https://s3-us-west-2.amazonaws.com/usgs-lidar-public/USGS_LPC_MD_VA_Sandy_NCR_2014_LAS_2015</a>",<br>        "bounds": "([-8577627, -8575100], [4705400,4706300])",<br>      "count":"25"},<br>      "test_DC_25Pts.laz"<br>  ]<br>}</blockquote><div><div dir="ltr" class="gmail-m_3232268515577602233gmail_signature"><div dir="ltr"><div dir="ltr"><br></div><div>This will run without errors, but the "count" option never seems to be read.  I've tried with and without quotes.  </div><div><br></div><div>However, when I run a similar pipeline on a local las file, I am able to limit the number of points in the output file.  For example:</div><div><br></div>





<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">{<br>  "pipeline": [<br>    {<br>      "type": "readers.las",<br>        "filename": "C02_ns.las",<br>      "count":250},<br>      "test_250Pts.laz"<br>  ]<br>}</blockquote><p class="gmail-m_3232268515577602233gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><br></p><p class="gmail-m_3232268515577602233gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal">This produces an output LAZ file with only 250 pts - as I expected.</p><p class="gmail-m_3232268515577602233gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><br></p><p class="gmail-m_3232268515577602233gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal">When using reader.ept does the count refer to the number of tiles, and not actual data points?</p><p class="gmail-m_3232268515577602233gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><br></p><p class="gmail-m_3232268515577602233gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal">Any info would be appreciated.  Thanks for your time,</p><p class="gmail-m_3232268515577602233gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><br></p><p class="gmail-m_3232268515577602233gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal">matt.</p><p class="gmail-m_3232268515577602233gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><br></p><p class="gmail-m_3232268515577602233gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal">-<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)">--------------------------</span><br></p><div dir="ltr"><div>Matthew Beckley</div><div>Data Engineer</div><div>UNAVCO/OpenTopography</div><div><a href="mailto:beckley@unavco.org" target="_blank">beckley@unavco.org</a></div>303-381-7487<br></div></div></div></div></div></div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div>