<div dir="ltr"><div class="gmail_extra"><div class="gmail_extra">Picking up on a conversation started on Gitter:  <a href="https://gitter.im/PDAL/PDAL">https://gitter.im/PDAL/PDAL</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">One problem we have with the PCLBlock filter is that we currently drop all non-XYZ dimensions because when we marshal point cloud data from PDAL --> PCL we needs to specify a PCL-compatible point type and we pick XYZ.  As a result, when we marshal the result back, we there is nothing except XYZ.</div><div class="gmail_extra"><br></div><div class="gmail_extra">One workaround suggested was to create a PCL point type that fits the data.  My quick look suggests there is not such point type, even for the simplest of LAS files.  Can someone confirm this?  These, I think, are the options <a href="http://docs.pointclouds.org/1.5.1/point__types_8hpp_source.html">http://docs.pointclouds.org/1.5.1/point__types_8hpp_source.html</a> ? So, For example, no way to carry Classification to say nothing of LAS metadata like the array of "Number of points by return."</div><div class="gmail_extra"><br></div><div class="gmail_extra">The other suggestion was to return just the indices of the desired points.  Can someone say a little more about what PCL API would enable this?  Once we had it, how can we get PDAL to remove all the points except those returned?</div><div class="gmail_extra"><br></div><div class="gmail_extra">One thought I had would be to sort the point cloud before marshaling it to PCL and similarly sort the result from PCL.  Create the desired result set by marching through the point clouds in parallel removing anything from the original point cloud that isn't in the PCL result.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">msr</div></div></div>