aboutsummaryrefslogtreecommitdiffstats
path: root/webmap-import
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2026-03-06 07:38:04 +0100
committerGuilhem Moulin <guilhem@fripost.org>2026-03-06 09:29:31 +0100
commitf2393202a5343dcaeffdbec518aa241573185335 (patch)
tree56efe6f15a4f7b0bdde4b5b35140f3c5fb9cc9f0 /webmap-import
parent906dd8a34ed4231cc73cdea217a5e9b31cd37cb6 (diff)
PostgreSQL: Add option to CLUSTER on geometry index.
See https://www.postgresql.org/docs/current/sql-cluster.html .
Diffstat (limited to 'webmap-import')
-rwxr-xr-xwebmap-import3
1 files changed, 2 insertions, 1 deletions
diff --git a/webmap-import b/webmap-import
index b4552d5..2f0f5b4 100755
--- a/webmap-import
+++ b/webmap-import
@@ -278,7 +278,8 @@ def processOutputLayer(ds : gdal.Dataset,
cachedir=cachedir, extent=extent,
dsoTransaction=dsTransaction,
lyrcache=lyrcache,
- force=force)
+ force=force,
+ cluster_geometry=layerdef.get('cluster-geometry', False))
def validate_sources(layers : dict[str, Any]) -> None:
"""Mangle and validate layer sources and import definitions"""