The density command produces a tessellated hexagonal OGR layer from the output of filters.hexbin.


The density command is only available when PDAL is linked with Hexer (BUILD_PLUGIN_HEXBIN=ON).

$ pdal density <input> <output>
--input, -i        Input point cloud file name
--output, -o       Output vector data source
--lyr_name         OGR layer name to write into datasource
--ogrdriver, -f    OGR driver name to use
--sample_size      Sample size for automatic edge length calculation. [5000]
--threshold        Required cell density [15]
                   Tolerance area to apply to holes before cull
--smooth           Smooth boundary output