Re: [gdal-dev] Adding ignored fields to layers

2018-04-03 Thread Even Rouault
Hi Ari, > When fields are added to a layer, the field definition that is stored in > the layer definition is created as a clone of the provided field definition. > > Neither field definitions nor geometry field definitions set the ignored > flag of the clone. > > Is this a feature and not a bug?

[gdal-dev] Adding ignored fields to layers

2018-04-03 Thread Ari Jolma
When fields are added to a layer, the field definition that is stored in the layer definition is created as a clone of the provided field definition. Neither field definitions nor geometry field definitions set the ignored flag of the clone. Is this a feature and not a bug? I was already mak