kopia lustrzana https://github.com/OpenDroneMap/ODM
BIGTIFF IF_SAFER
rodzic
1e0ea2d074
commit
559ccbacad
|
@ -129,7 +129,7 @@ def compute_mask_raster(input_raster, vector_mask, output_raster, blend_distance
|
||||||
else:
|
else:
|
||||||
log.ODM_WARNING("%s does not have an alpha band, cannot blend cutline!" % input_raster)
|
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.colorinterp = rast.colorinterp
|
||||||
dst.write(out_image)
|
dst.write(out_image)
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue