aboutsummaryrefslogtreecommitdiffstats
path: root/config.yml
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-06-20 15:40:13 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-06-20 16:06:09 +0200
commite930cd95f3392b44152ae05b4189c65e833adaa3 (patch)
tree812e6bc75886e265989aec8eb613315d8bdd561c /config.yml
parentc38ffe806c75629632a3d1af8c1c6a55ccb57dff (diff)
Conditionally use GetTZFlag()/SetTZFlag() depending on the GDAL version.
OGRFieldDefn: add GetComment() / SetComment() methods were added in OGR 3.8.0, cf. https://github.com/OSGeo/gdal/blob/master/NEWS.md#core-3 . Don't comment out TZ on field definitions. Instead we check the GDAL/OGR version and ignore TZ on field definitions if the OGR version is too old.
Diffstat (limited to 'config.yml')
-rw-r--r--config.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.yml b/config.yml
index d95e663..72a735e 100644
--- a/config.yml
+++ b/config.yml
@@ -264,7 +264,7 @@ layers:
comment: Globalt unik identitet för generaliserat objekt
- name: skapad
type: DateTime
- #tz: local
+ tz: local
comment: Tidpunkt när objektet ändrades
- name: lanskod
type: Integer
@@ -302,7 +302,7 @@ layers:
comment: Globalt unik identitet för generaliserat objekt
- name: skapad
type: DateTime
- #tz: local
+ tz: local
comment: Tidpunkt när objektet ändrades
- name: kommunkod
type: Integer