This tool can be used to assign the building class (classification value 6) to all points within an input LiDAR point cloud (`input`) that are contained within the polygons of an input buildings footprint vector (`buildings`). The tool performs a simple point-in-polygon operation to determine membership. The two inputs (i.e. the LAS file and vector) must share the same map projection. Furthermore, any error in the definition of the building footprints will result in misclassified points in the output LAS file (`output`). In particular, if the footprints extend slightly beyond the actual building, ground points situated adjacent to the building will be incorrectly classified. Thus, care must be taken in digitizing building footprint polygons. Furthermore, where there are tall trees that overlap significantly with the building footprint, these vegetation points will also be incorrectly assigned the building class value.

## See Also

filter_lidar_classes, lidar_ground_point_filter, clip_lidar_to_polygon

## Function Signature

`def classify_buildings_in_lidar(self, in_lidar: Lidar, building_footprints: Vector) -> Lidar: ...`

## Project Links

WbW Homepage User Manual Support WbW