[gdal-dev] Fields of type List to simple fields with N times the feature?
Abel Pau
a.pau at creaf.uab.cat
Tue Feb 6 06:11:41 PST 2024
Hi Even,
I finally offer several options.
1.-Export as string list or integer list, o r whatever list;
2.- Export only the fisrt, second,... or last member of the list (it can be usefull sometimes)
3.- export the JSON format you comment in this mail.
Every user will be able to choose whatever he needs.
Thanks
De: Even Rouault <even.rouault at spatialys.com>
Enviado el: divendres, 19 de gener de 2024 17:16
Para: Abel Pau <a.pau at creaf.uab.cat>; gdal-dev at lists.osgeo.org
Asunto: Re: [gdal-dev] Fields of type List to simple fields with N times the feature?
Actually, an alternative would be that you type your list fields with type=OFTString and subtype=OFSTJSon, and emit a serialized JSON array (``[1,2]``). This is probably more in the spirit of nowadays uses, and that should make all output drivers happy (at worse they won't understand the JSON hint)
--
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240206/5385619a/attachment-0001.htm>
More information about the gdal-dev
mailing list