From 07cc2f77ed7ee9b65a3e969c2e85b8ca5bcc50fc Mon Sep 17 00:00:00 2001 From: Trey Stafford Date: Wed, 28 Jun 2023 14:54:23 -0600 Subject: [PATCH] tweak resampling alg for creating overviews --- qgreenland/config/layers/Biology/Vegetation/vegetation_map.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qgreenland/config/layers/Biology/Vegetation/vegetation_map.py b/qgreenland/config/layers/Biology/Vegetation/vegetation_map.py index 08fa4446..c01e6f63 100644 --- a/qgreenland/config/layers/Biology/Vegetation/vegetation_map.py +++ b/qgreenland/config/layers/Biology/Vegetation/vegetation_map.py @@ -77,6 +77,7 @@ *compress_and_add_overviews( input_file="{input_dir}/warped.tif", output_file="{output_dir}/compressed.tif", + resampling_algorithm="mode", dtype_is_float=False, ), ],