<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p>this comes from <a class="moz-txt-link-freetext" href="https://trac.osgeo.org/gdal/ticket/4458">https://trac.osgeo.org/gdal/ticket/4458</a></p>
    <p>The full list of laundered field name is at
<a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/blob/94625cba3367c5709175e5b7a037febe737742f0/ogr/ogrsf_frmts/filegdb/FGdbUtils.cpp#L522">https://github.com/OSGeo/gdal/blob/94625cba3367c5709175e5b7a037febe737742f0/ogr/ogrsf_frmts/filegdb/FGdbUtils.cpp#L522</a></p>
    <p>There's a hidden -lco LAUNDER_RESERVED_KEYWORDS=FALSE layer
      creation option (will only work if you just created the layer. to
      be opposed to updating an existing one) to disable this, but this
      might apparently cause issues with ArcMap. At least it did in the
      past</p>
    <p>Even<br>
    </p>
    <div class="moz-cite-prefix">Le 13/05/2022 à 19:11, adamgutonski via
      gdal-dev a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:bAxRj99a_Bv69NEXcVaqZYke1T63Gx2IdqsIC_ybwGEZJiXsIPd1FQ0WUO_FGZIvStNm2sTOmvbeIE1fHFHfKqJ3Qo1IpKyGlMLou0aqxnk=@protonmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div style="font-family: arial; font-size: 14px;">Hello,</div>
      <div style="font-family: arial; font-size: 14px;"><br>
      </div>
      <div style="font-family: arial; font-size: 14px;">I am attempting
        to create an <span style="background-color:rgb(255, 255,
          255);display:inline !important">ogr.OFTDateTime</span> 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:</div>
      <div style="font-family: arial; font-size: 14px;"><br>
      </div>
      <div style="font-family: arial; font-size: 14px;"><span><b>Warning
            6: Normalized/laundered field name: 'date' to 'date_'</b></span><br>
      </div>
      <div style="font-family: arial; font-size: 14px;"><br>
      </div>
      <div style="font-family: arial; font-size: 14px;">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 <b>date</b> that
        will always be normalized?</div>
      <div style="font-family: arial; font-size: 14px;"><br>
      </div>
      <div style="font-family: arial; font-size: 14px;">Below is my code
        snippet:</div>
      <div style="font-family: arial; font-size: 14px;"><br>
      </div>
      <div style="font-family: arial; font-size: 14px;">
        <div><span><i>field_defn = ogr.FieldDefn("date",
              ogr.OFTDateTime)</i></span></div>
        <div><i>layer.CreateField(field_defn)</i></div>
      </div>
      <div style="font-family: arial; font-size: 14px;"><br>
      </div>
      <div style="font-family: arial; font-size: 14px;">Thank you for
        your time as always!</div>
      <div style="font-family: arial; font-size: 14px;"><br>
      </div>
      <div style="font-family: arial; font-size: 14px;">Sincerely,<br>
        Adam Gutonski</div>
      <div style="font-family: arial; font-size: 14px;"><br>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>