Hello,

I am attempting to create an ogr.OFTDateTime field named "date", within a file 
geodatabase table. However anytime a field definition is created with the name 
"date", once the layer tries to create the field, I get receive a warning:

Warning 6: Normalized/laundered field name: 'date' to 'date_'

Why does this field need to be normalized? Is there anyway to suppress this 
warning and retain the "date" string that is expected as the field name? Are 
there other field names besides date that will always be normalized?

Below is my code snippet:

field_defn = ogr.FieldDefn("date", ogr.OFTDateTime)
layer.CreateField(field_defn)

Thank you for your time as always!

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

Reply via email to