This tool classifies points within a user-specified LiDAR point cloud (base
) that correspond with points in a subset cloud (subset
). The subset point cloud may have been derived by filtering the original point cloud. The user must specify the names of the two input LAS files (i.e. the full and subset clouds) and the class value (subset_class
) to assign the matching points. This class value will be assigned to points in the base cloud, overwriting their input class values in the output LAS file (output
). Class values should be numerical (integer valued) and should follow the LAS specifications below:
Classification Value | Meaning |
0 | Created never classified |
1 | Unclassified |
2 | Ground |
3 | Low Vegetation |
4 | Medium Vegetation |
5 | High Vegetation |
6 | Building |
7 | Low Point (noise) |
8 | Reserved |
9 | Water |
10 | Rail |
11 | Road Surface |
12 | Reserved |
13 | Wire – Guard (Shield) |
14 | Wire – Conductor (Phase) |
15 | Transmission Tower |
16 | Wire-structure Connector (e.g. Insulator) |
17 | Bridge Deck |
18 | High noise |
The user may optionally specify a class value to be assigned to non-subset (i.e. non-matching) points (nonsubset_class
) in the base file. If this parameter is not specified, output non-sutset points will have the same class value as the base file.
def lidar_classify_subset(self, base_lidar: Lidar, subset_lidar: Lidar, subset_class_value: int, nonsubset_class_value: int) -> Lidar: ...