[pdal] count option with .ept files

Matt Beckley beckley at unavco.org
Thu Feb 21 16:23:49 PST 2019


Hello all,

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:

{
>   "pipeline": [
>     {
>       "type": "readers.ept",
>         "filename": "ept://
> https://s3-us-west-2.amazonaws.com/usgs-lidar-public/USGS_LPC_MD_VA_Sandy_NCR_2014_LAS_2015
> ",
>         "bounds": "([-8577627, -8575100], [4705400,4706300])",
>       "count":"25"},
>       "test_DC_25Pts.laz"
>   ]
> }


This will run without errors, but the "count" option never seems to be
read.  I've tried with and without quotes.

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:

{
>   "pipeline": [
>     {
>       "type": "readers.las",
>         "filename": "C02_ns.las",
>       "count":250},
>       "test_250Pts.laz"
>   ]
> }


This produces an output LAZ file with only 250 pts - as I expected.


When using reader.ept does the count refer to the number of tiles, and not
actual data points?


Any info would be appreciated.  Thanks for your time,


matt.


---------------------------
Matthew Beckley
Data Engineer
UNAVCO/OpenTopography
beckley at unavco.org
303-381-7487
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20190221/5ab152eb/attachment.html>


More information about the pdal mailing list