From 88ac12625136b77435d6e6bab8eced4a81ec5e53 Mon Sep 17 00:00:00 2001 From: Scott Staniewicz Date: Thu, 21 Nov 2024 22:09:18 -0500 Subject: [PATCH] Use `nearest` sampling to stitch static layers (#496) --- src/dolphin/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dolphin/utils.py b/src/dolphin/utils.py index fc324433..520fd765 100644 --- a/src/dolphin/utils.py +++ b/src/dolphin/utils.py @@ -589,6 +589,7 @@ def prepare_geometry( out_nodata=nodata, target_aligned_pixels=True, strides=strides, + resample_alg="nearest", overwrite=False, options=options, )