Title Clip LiDAR Point Cloud to Area of Interest (AOI)
cliping_cloud_to_aoi.Rd
This function reads a LAS file, assigns a new coordinate reference system (CRS) to both the point cloud and the AOI, clips the point cloud to the AOI, and optionally saves the clipped point cloud to a new LAS file.
Arguments
- las_path
Path to the input LAS file containing the point cloud data.
- aoi
An sf object defining the Area of Interest to which the point cloud will be clipped.
- folder
Path to the folder where the output LAS file will be saved, if saving is enabled.
- crs_def
Coordinate Reference System definition to be applied to both the point cloud and the AOI.
- save_las
Logical flag indicating whether to save the clipped point cloud to a new LAS file. Set to TRUE to save.