diff options
| author | Guilhem Moulin <guilhem@fripost.org> | 2026-03-05 23:29:51 +0100 |
|---|---|---|
| committer | Guilhem Moulin <guilhem@fripost.org> | 2026-03-05 23:29:56 +0100 |
| commit | 906dd8a34ed4231cc73cdea217a5e9b31cd37cb6 (patch) | |
| tree | 071371fea2e9680ce984fb771c4d0dc3bd4d33d8 | |
| parent | dac98568efd76dea7e7149c55a841218ea733782 (diff) | |
PostgreSQL: Capitalize DIM layer creation option.
Cf. https://gdal.org/en/stable/drivers/vector/pg.html#layer-creation-options
| -rw-r--r-- | import_source.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
