From 6bd89a5341b5c7632627c780e63ca8ed086f71ca Mon Sep 17 00:00:00 2001 From: Antoine Lavenant Date: Wed, 29 May 2024 17:02:39 +0200 Subject: [PATCH] fix doc + rename file --- doc/radius_assign.md | 4 ++-- environment.yml | 11 +++++------ macro/ex_filtering_points.py | 2 +- ...2.py => ex_filtering_points_with_add_attributs.py} | 2 +- 4 files changed, 9 insertions(+), 10 deletions(-) rename macro/{ex_filtering_points2.py => ex_filtering_points_with_add_attributs.py} (98%) diff --git a/doc/radius_assign.md b/doc/radius_assign.md index f5dc42f..60e0f66 100755 --- a/doc/radius_assign.md +++ b/doc/radius_assign.md @@ -43,7 +43,7 @@ Options **is3d**: Search in 3d (as a ball). [Default: false] -**is2d_above**: If search in 2d : upward maximum distance in Z for potential neighbors (corresponds to a search in a cylinder with a height = is2d_above above the source point). Default (0) = infinite height [Default: 0.] +**max2d_above**: If search in 2d : upward maximum distance in Z for potential neighbors (corresponds to a search in a cylinder with a height = max2d_above above the source point). Default (0) = infinite height [Default: 0.] -**is2d_below**: If search in 2d : upward maximum distance in Z for potential neighbors (corresponds to a search in a cylinder with a height = is2d_below below the source point). Default (0) = infinite height [Default: 0.] +**max2d_below**: If search in 2d : upward maximum distance in Z for potential neighbors (corresponds to a search in a cylinder with a height = max2d_below below the source point). Default (0) = infinite height [Default: 0.] diff --git a/environment.yml b/environment.yml index 1c30b24..695737c 100755 --- a/environment.yml +++ b/environment.yml @@ -6,15 +6,14 @@ dependencies: - pdal - python-pdal - gdal - - cmake - - pip - - pip: - - ign-pdal-tools # --------- dev dep --------- # + - cmake - pre-commit # hooks for applying linters on commit - black # code formatting - isort # import sorting - flake8 # code analysis - pytest - - +# --------- pip & pip librairies --------- # + - pip + - pip: + - ign-pdal-tools diff --git a/macro/ex_filtering_points.py b/macro/ex_filtering_points.py index 72b267d..ae1320b 100755 --- a/macro/ex_filtering_points.py +++ b/macro/ex_filtering_points.py @@ -7,7 +7,7 @@ """ def parse_args(): - parser = argparse.ArgumentParser("Tool to apply pdal pipelines to modify classification") + parser = argparse.ArgumentParser("Tool to apply pdal pipelines for DSM and DTM calculation") parser.add_argument("--input", "-i", type=str, required=True, help="Input las file") parser.add_argument("--output_las", "-o", type=str, required=True, help="Output cloud las file") parser.add_argument("--output_dsm", "-s", type=str, required=True, help="Output dsm tiff file") diff --git a/macro/ex_filtering_points2.py b/macro/ex_filtering_points_with_add_attributs.py similarity index 98% rename from macro/ex_filtering_points2.py rename to macro/ex_filtering_points_with_add_attributs.py index 71de88d..8d9a9a4 100755 --- a/macro/ex_filtering_points2.py +++ b/macro/ex_filtering_points_with_add_attributs.py @@ -7,7 +7,7 @@ """ def parse_args(): - parser = argparse.ArgumentParser("Tool to apply pdal pipelines to modify classification") + parser = argparse.ArgumentParser("Tool to apply pdal pipelines for DSM and DTM calculation (with add attributs for the concerned points)") parser.add_argument("--input", "-i", type=str, required=True, help="Input las file") parser.add_argument("--output_las", "-o", type=str, required=True, help="Output cloud las file") parser.add_argument("--output_dsm", "-s", type=str, required=True, help="Output dsm tiff file")