Skip to content

laser ground

Identifies and classifies ground points.

It's typically advised to run this routine only when the las/laz data does not already include ground point classification. Most publicly-available datasets have already been classified, especially data from the USGS. I often err on the side of trusting the host organization's standards for classification instead of having to make certain assumptions about the terrain via this routine.


laser ground [-h] [-o OUTPUT_FILE] [-odir output_directory] [--input-is-list]
  [--keep-classification] [--compute-height] [--replace_z] [--fine]
  [--extra-fine] [--coarse] [--extra-coarse] [--town] [--city] [--metro]
  [--cores CORES] input_files [input_file(s ...]

positional arguments:
  input_file(s)         Input file(s)

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT_FILE, --output_file OUTPUT_FILE
                        Output file (default: None)
  -odir output_directory, --output_directory output_directory
                        Output data directory. (default: None)
  --input-is-list       Use input file as a list of rasters to merge. (default: False)
  --keep-classification
                        Keep original classes and only re-classify ground points. (default: False)
  --compute-height      Compute height above ground on the fly. (default: False)
  --replace_z           Overwrite Z values instead of storing height in a user data class. (default: False)
  --fine                Use in rugged terrain. (default: False)
  --extra-fine          Use in very rugged terrain. (default: False)
  --coarse              Use in flat terrain. (default: False)
  --extra-coarse        Use in very flat terrain. (default: False)
  --town                Use wide radius to find ground. (default: False)
  --city                Use wider radius to find ground. (default: False)
  --metro               Use widest radius to find ground. (default: False)
  --cores CORES         number of processing threads (default: 4)
Back to top