From 906dd8a34ed4231cc73cdea217a5e9b31cd37cb6 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 5 Mar 2026 23:29:51 +0100 Subject: PostgreSQL: Capitalize DIM layer creation option. Cf. https://gdal.org/en/stable/drivers/vector/pg.html#layer-creation-options --- import_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/import_source.py b/import_source.py index 3b187a5..9e0393b 100644 --- a/import_source.py +++ b/import_source.py @@ -136,7 +136,7 @@ def createOutputLayer(ds : gdal.Dataset, dim = '2' if lco is None: lco = [] - lco = ['dim=' + dim] + lco # prepend dim= + lco = ['DIM=' + dim] + lco # prepend DIM= kwargs = { 'geom_type': geom_type } if srs is not None: -- cgit v1.2.3