Skip to content

Commit

Permalink
remove coment code - on laisse le TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
alavenant committed Jul 9, 2024
1 parent db144a8 commit 748a96c
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ def mark_points_to_use_for_digital_models_with_new_dimension(

# max des points de veget (PT_VEG_DSM==1) sur une grille régulière :
# TODO: remplacer par GridDecimation une fois le correctif mergé dans PDAL
# pipeline |= pdal.Filter.GridDecimation(
# resolution=0.75, value=f"{dsm_dimension}=1", output_type="max", where="PT_VEG_DSM==1"
# )
pipeline |= pdal.Filter.grid_decimation_deprecated(
resolution=0.75, output_dimension=dsm_dimension, output_type="max", where="PT_VEG_DSM==1"
)
Expand All @@ -138,9 +135,6 @@ def mark_points_to_use_for_digital_models_with_new_dimension(

# selection de points DTM (max) sur une grille régulière
# TODO: remplacer par GridDecimation une fois le correctif mergé dans PDAL
# pipeline |= pdal.Filter.GridDecimation(
# resolution=0.5, value=f"{dtm_dimension}=1", output_type="max", where="Classification==2"
# )
pipeline |= pdal.Filter.grid_decimation_deprecated(
resolution=0.5,
output_dimension=dtm_dimension,
Expand All @@ -150,14 +144,6 @@ def mark_points_to_use_for_digital_models_with_new_dimension(

# selection de points DSM (max) sur une grille régulière
# TODO: remplacer par GridDecimation une fois le correctif mergé dans PDAL
# pipeline |= pdal.Filter.GridDecimation(
# resolution=0.5,
# value=f"{dsm_dimension}=1",
# output_type="max",
# where="("
# + macro.build_condition("Classification", [6, 9, 17, 64])
# + f") || {dsm_dimension}==1",
# )
pipeline |= pdal.Filter.grid_decimation_deprecated(
resolution=0.5,
output_dimension=dsm_dimension,
Expand Down

0 comments on commit 748a96c

Please sign in to comment.