From 559ccbacad1a9de7367f07eb5ef47229ea57a6e5 Mon Sep 17 00:00:00 2001 From: Stephen Mather <1174901+smathermather@users.noreply.github.com> Date: Mon, 20 Jun 2022 22:22:09 -0400 Subject: [PATCH] BIGTIFF IF_SAFER --- opendm/orthophoto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendm/orthophoto.py b/opendm/orthophoto.py index 7b5fb518..d8c0c945 100644 --- a/opendm/orthophoto.py +++ b/opendm/orthophoto.py @@ -129,7 +129,7 @@ def compute_mask_raster(input_raster, vector_mask, output_raster, blend_distance else: log.ODM_WARNING("%s does not have an alpha band, cannot blend cutline!" % input_raster) - with rasterio.open(output_raster, 'w', get_orthophoto_vars(args), **rast.profile) as dst: + with rasterio.open(output_raster, 'w', BIGTIFF="IF_SAFER", **rast.profile) as dst: dst.colorinterp = rast.colorinterp dst.write(out_image)