[pdal] Filter development: was How to get las header info?
Howard Butler
howard at hobu.co
Wed Mar 23 07:12:30 PDT 2022
> On Mar 23, 2022, at 9:03 AM, Peder Axensten <Peder.Axensten at slu.se> wrote:
>
> I saw your reply on the list archive. Thanks! I’ll try the 2.4 release.
>
> If I’d try to migrate the tool to a pdal plugin – is there a way to process a directory of files, to have them presented one by one to pdal::Filter::run or similar? Or how should I go about it?
Not really, no. Parallelism like that has always been out of scope for PDAL. Use your favorite parallel, bash, or xargs invocation to spray PDAL pipelines (or translates or whatever) across your directory of files.
If you must have a group of files (maybe you have neighborhood considerations or something), consider using a tile index similar to GDAL https://pdal.io/apps/tindex.html and have your reader work with those.
If your metrics tools are written in Python, you might consider using the filters.python stage to provide your logic to PDAL without having to jump to C++.
Howard
More information about the pdal
mailing list