fix(buildings): Replace VSIUnlink with Unlink for GDAL compatibility
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user