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 making a PR but I see in the field definition clone code the comment "TODO(schwehr): Can we use IsIgnored()?"

So, can we?

Ari


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to