Filter LAS scan angles

This tool removes points in a LAS file with scan angles greater than a threshold. Because Whitebox GAT cannot currently write LAS files (read only) the output is placed into a MultiPoint type shapefile. The user must specify the names of one or more LAS files, the name of the output file, and a threshold scan angle value above which points in the input files will be ignored. Not all LAS files contain scan angle data. You may use the Get LAS file summary tool to see whether a file contains scan angle information.

See Also:

Scripting:

The following is an example of a Python script using this tool:

wd = pluginHost.getWorkingDirectory()
# You may have multiple input files but they must
# be separated by semicolons in the string.
inputs = wd + "input1.las" + ";" + wd + "input2.las" + ";" + wd + "input3.las"
threshold = "15"
args = [inputs, threshold]
pluginHost.runPlugin("FilterLasScanAngles", args, False)

This is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
// You may have multiple input files but they must
// be separated by semicolons in the string.
def inputs = wd + "input1.las" + ";" + wd + "input2.las" + ";" + wd + "input3.las"
def threshold = "15"
String[] args = args = [inputs, threshold]
pluginHost.runPlugin("FilterLasScanAngles", args, false)

Credits: