<div dir="ltr"><div>VoxelDownsize will return either the center coordinate of each occupied voxel or the actual coordinate of the first detected point to occupy a voxel.</div><div><br></div><div>The Sample filter downsamples points, such that no two points can be closer than a given radius. It does not grid or compute any statistics.<br></div><div><br></div><div>VoxelCentroidNearestNeighbor returns the point that is nearest the centroid of all points within a given voxel. (VoxelCenterNearestNeighbor does the same, but for the point closest to the voxel center.)</div><div><br></div><div>We do not have a filter that grids the data and computes summary statistics. We do have some that do similar things as intermediate steps. It would be pretty trivial to develop though.<br></div><div><br></div><div>In the meantime, maybe you would have luck writing with the GDAL writer, saving just the mean elevation band, and then reading that raster with the GDAL reader to interpret it as a point cloud? The only caveat I can think of here is that the mean elevation computation will consider points that extend beyond the current raster cell (root 2 times the cell size by default).<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 2, 2020 at 2:02 PM alison.cramer3 <<a href="mailto:alisoncramer@nevada.unr.edu">alisoncramer@nevada.unr.edu</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">Okay well that is good to know.  Is there an option in the PDAL voxeldownsize<br>
to choose average?  Kind of like creating a raster, but gridding my point<br>
cloud to take to average height value?  similar to the raster function in<br>
cloudcompare, but I don't want a raster, I want a gridded point cloud.  I<br>
used filters.sample, but this is random sampling, is it not?<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/PDAL-f4600080.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/PDAL-f4600080.html</a><br>
_______________________________________________<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>