From 7672c6e42ab74484a6c8f09950a166bc0e3ed3b9 Mon Sep 17 00:00:00 2001 From: Stephen Mather <1174901+smathermather@users.noreply.github.com> Date: Wed, 16 Jul 2025 14:15:39 -0400 Subject: [PATCH] Revert feathered If we have a utility to use it soon, will revert the revert --- stages/odm_orthophoto.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/stages/odm_orthophoto.py b/stages/odm_orthophoto.py index 24f324e6..a439892f 100644 --- a/stages/odm_orthophoto.py +++ b/stages/odm_orthophoto.py @@ -133,10 +133,11 @@ class ODMOrthoPhotoStage(types.ODM_Stage): reconstruction, tree, not outputs["large"]) # Generate feathered orthophoto also - orthophoto.feather_raster(tree.odm_orthophoto_tif, - os.path.join(tree.odm_orthophoto, "odm_orthophoto_feathered.tif"), - blend_distance=20 - ) + if args.orthophoto_cutline and submodel_run: + orthophoto.feather_raster(tree.odm_orthophoto_tif, + os.path.join(tree.odm_orthophoto, "odm_orthophoto_feathered.tif"), + blend_distance=20 + ) else: if io.file_exists(tree.odm_orthophoto_render):