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.roua...@spatialys.com>
Enviado el: divendres, 19 de gener de 2024 17:16
Para: Abel Pau <a....@creaf.uab.cat>; gdal-dev@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.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to