lasgrid - martijnkoopman/SpatiumGL GitHub Wiki

Filter LAS/LAZ point cloud with voxel grid filter

Filter a point cloud by overlaying a 3D voxel grid with a fixed cell size (spacing). For each grid cell a single point is retained. This is the point with the closest distance to the center of the grid cell.

Usage

lasgrid --help
Filter LAS/LAZ point cloud with voxel grid filter.
Usage: lasgrid [OPTIONS]

Options:
  -h,--help                   Print this help message and exit
  -i,--input TEXT:FILE REQUIRED
                              Input LAS/lAZ file
  -o,--output TEXT:PATH(non-existing) REQUIRED
                              Output LAS/lAZ file
  -s,--spacing FLOAT REQUIRED Spacing, grid cell size

Example

lasgrid -i C_31CN1.LAZ -o C_31CN1_1m1.LAZ -s 1.0