From 56b5743b5f86804ca0ca1bb20ffc5a5bda9330f4 Mon Sep 17 00:00:00 2001 From: "s0wlz (Matthias Puchstein)" Date: Wed, 4 Feb 2026 22:12:37 +0100 Subject: [PATCH] fix(buildings): Replace VSIUnlink with Unlink for GDAL compatibility --- geodata_pipeline/buildings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geodata_pipeline/buildings.py b/geodata_pipeline/buildings.py index 51df4ea..4ae0ce9 100644 --- a/geodata_pipeline/buildings.py +++ b/geodata_pipeline/buildings.py @@ -344,7 +344,7 @@ def _extract_texture_from_vrt(bounds: Tuple[float, float, float, float], vrt_ds: gdal.VSIFSeekL(f, 0, 0) data = gdal.VSIFReadL(1, size, f) gdal.VSIFCloseL(f) - gdal.VSIUnlink(mem_path) + gdal.Unlink(mem_path) return data except Exception as exc: print(f"[buildings] failed to extract texture from VRT: {exc}")