From 8d14f31c325992def36cd66228da0a02a63d7107 Mon Sep 17 00:00:00 2001 From: rhijmans Date: Tue, 4 Feb 2025 18:41:35 -0800 Subject: [PATCH] fixes #1735 --- src/read_gdal.cpp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/read_gdal.cpp b/src/read_gdal.cpp index 4f2e3dea2..d00de6f1b 100644 --- a/src/read_gdal.cpp +++ b/src/read_gdal.cpp @@ -2017,13 +2017,21 @@ bool SpatRaster::constructFromSDS(std::string filename, std::vector } else { // eliminate sources based on names like "*_bnds" and "lat" std::vector rows, cols; - for (size_t i=0; i