aboutsummaryrefslogtreecommitdiffstats
path: root/webmap-import
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2025-08-14 13:46:48 +0200
committerGuilhem Moulin <guilhem@fripost.org>2025-08-14 16:02:20 +0200
commit27fc0d1bfdefbc69450781c16bb43198b857f95d (patch)
treee3c3505bc5cec12b845e7213d6458db00dc315ca /webmap-import
parent878d693d3cda9dc667508889732614bdd9e31abd (diff)
Use .GetDataSet() from gdal ≥3.9 instead of passing the ds around.
Diffstat (limited to 'webmap-import')
-rwxr-xr-xwebmap-import2
1 files changed, 1 insertions, 1 deletions
diff --git a/webmap-import b/webmap-import
index ef728a9..95c3b41 100755
--- a/webmap-import
+++ b/webmap-import
@@ -274,7 +274,7 @@ def processOutputLayer(ds : gdal.Dataset,
# setup output field mapping in the sources dictionary
setOutputFieldMap(lyr.GetLayerDefn(), sources)
- return importSources(dso=ds, lyr=lyr, sources=sources,
+ return importSources(lyr=lyr, sources=sources,
cachedir=cachedir, extent=extent,
dsoTransaction=dsTransaction,
lyrcache=lyrcache,