diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2024-06-20 15:40:13 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2024-06-20 16:06:09 +0200 |
commit | e930cd95f3392b44152ae05b4189c65e833adaa3 (patch) | |
tree | 812e6bc75886e265989aec8eb613315d8bdd561c /config.yml | |
parent | c38ffe806c75629632a3d1af8c1c6a55ccb57dff (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.yml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |