Skip to content

Commit

Permalink
Update documentation for buffer points removal
Browse files Browse the repository at this point in the history
  • Loading branch information
leavauchier committed Jul 16, 2024
1 parent cdf6475 commit cac2eb5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pdaltools/las_add_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit cac2eb5

Please sign in to comment.