diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2024-06-20 15:34:18 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2024-06-20 16:06:04 +0200 |
commit | 279424f34102fb87c86f70cee1425dc7cdab3814 (patch) | |
tree | c90bee1b6b719d4c67467b408f12413271999321 /administrative-codes/csv2json | |
parent | baec26389dacb5541966baf7b1aaad2636b8882c (diff) |
Conditionally use GetComment()/SetComment() depending on the GDAL version.
OGRFieldDefn: add GetComment() / SetComment() methods were added in OGR
3.7.0, cf. https://github.com/OSGeo/gdal/blob/master/NEWS.md#core-5 .
Don't comment out comments on field definitions. Instead we check the
GDAL/OGR version and ignore comments on field definitions if the OGR
version is too old.
Diffstat (limited to 'administrative-codes/csv2json')
0 files changed, 0 insertions, 0 deletions