[pdal] tweaking parameters in filters.smrf

Howard Butler howard at hobu.co
Wed Jun 12 07:40:58 PDT 2019



> On Jun 12, 2019, at 9:36 AM, Karl North <karln at surdex.com> wrote:
> 
> Brad:
>  
> Thanks for the suggestions.
>  
> I’ve done some reading and begun playing around with the cluster filter.  One problem is that I’m new enough to PDAL that I cannot find a way to add/define a dimension and store the cluster ID into either LAS or LAZ format on output.  I think it should be possible to just hijack an existing field in the point data records for current testing purposes.  Does this sound possible?  I’m floundering a bit trying to find an example of something similar.  Can you point me in the right direction?

Use the filters.ferry to copy ClusterID => PointSourceId downstream of your filters.cluster invocation.

https://pdal.io/stages/filters.ferry.html <https://pdal.io/stages/filters.ferry.html>


> I can get a BPF output, but currently have no way to review the result.  I’m now downloading 64-bit QT Reader, after finding a thread by HoBu saying that this viewer would work for a quick review.

I don't know if that is still viable.

You can also write to LAS with extra bytes

--writers.las.extra_dims=ClusterID

but you'll need something that can view extra LAS dimensions. 


Howard

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20190612/228fd745/attachment-0001.html>


More information about the pdal mailing list