Re: [gdal-dev] Fields of type List to simple fields with N times the feature?

2024-02-06 Thread Abel Pau via gdal-dev
needs. Thanks De: Even Rouault Enviado el: divendres, 19 de gener de 2024 17:16 Para: Abel Pau ; 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

Re: [gdal-dev] Fields of type List to simple fields with N times the feature?

2024-01-19 Thread Even Rouault via gdal-dev
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 h

Re: [gdal-dev] Fields of type List to simple fields with N times the feature?

2024-01-19 Thread Even Rouault via gdal-dev
Le 19/01/2024 à 16:54, Abel Pau via gdal-dev a écrit : Hello, we have tried to generate some layers from MiraMon to SHP, KML, or GPKG, and we have noticed that they do not support "List" field cases. They give a warning like: "The output driver does not seem to natively support IntegerList

[gdal-dev] Fields of type List to simple fields with N times the feature?

2024-01-19 Thread Abel Pau via gdal-dev
Hello, we have tried to generate some layers from MiraMon to SHP, KML, or GPKG, and we have noticed that they do not support "List" field cases. They give a warning like: "The output driver does not seem to natively support IntegerList type for field "XX". It could be interesting if a driver c

Re: [gdal-dev] Fields

2012-04-15 Thread Ari Jolma
On 04/14/2012 11:16 PM, Even Rouault wrote: Le samedi 14 avril 2012 13:35:51, Ari Jolma a écrit : Folks, While extending the method set of Geo::OGR::Layer in the Perl bindings I noticed that it is perfectly possible to create two fields with the same name into a layer. This seems too relaxed. O

Re: [gdal-dev] Fields

2012-04-14 Thread Even Rouault
Le samedi 14 avril 2012 13:35:51, Ari Jolma a écrit : > Folks, > > While extending the method set of Geo::OGR::Layer in the Perl bindings I > noticed that it is perfectly possible to create two fields with the same > name into a layer. This seems too relaxed. Or are there use cases where > one wou

[gdal-dev] Fields

2012-04-14 Thread Ari Jolma
Folks, While extending the method set of Geo::OGR::Layer in the Perl bindings I noticed that it is perfectly possible to create two fields with the same name into a layer. This seems too relaxed. Or are there use cases where one would like to have more than one field which has the same name?