From cac2eb584d07089dc4eeb20ce1c9aeb217121845 Mon Sep 17 00:00:00 2001 From: Lea Vauchier Date: Tue, 16 Jul 2024 14:20:56 +0200 Subject: [PATCH] Update documentation for buffer points removal --- pdaltools/las_add_buffer.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pdaltools/las_add_buffer.py b/pdaltools/las_add_buffer.py index 9ead97a..5f07a32 100644 --- a/pdaltools/las_add_buffer.py +++ b/pdaltools/las_add_buffer.py @@ -146,6 +146,9 @@ def remove_points_from_buffer(input_file: str, output_file: str): """Remove the points that were added as a buffer to a las file using the "is_in_original" dimension that has been added by create_las_with_buffer + Limitation: if any point has been added to the point cloud after adding the buffer, it + won't be preserved by this operation (only points from the original file are kept) + Args: input_file (str): path to the input file containing the "is_in_original" dimension output_file (str): path to the output_file @@ -169,7 +172,11 @@ def run_on_buffered_las( The second argument of the decorated function must be an output path The buffer is added by merging lidar tiles around the queried tile and crop them based - on their filenames + on their filenames. + + Limitation: if any point has been added to the point cloud by the decorated function, it + won't be preserved by this operation (only points from the original file are kept) + Args: buffer_width (int): width of the border to add to the tile (in meters)