This tool can be used to either extract or classify the elevation values (z) of LiDAR points within a specified elevation range (slice). In addition to the names of the input and output LiDAR files (input
and output
), the user must specify the lower (minz
) and upper (maxz
) bounds of the elevation range. By default, the tool will only output points within the elevation slice, filtering out all points lying outside of this range. If the class
parameter is used, the tool will operate by assigning a class value (inclassval
) to the classification bit of points within the slice and another class value (outclassval
) to those points falling outside the range.
lidar_remove_outliers, lidar_classify_subset
def lidar_elevation_slice(self, input: Lidar, minz: float = float('-inf'), maxz: float = float('inf'), classify: bool = False, in_class_value: int = 2, out_class_value: int = 1) -> Lidar: ...