<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi<br>
    <br>
    I'm wondering if there are any plans to use the metadata gml_types
    auto setting to automatically define the field types for WFS/GML
    output. <br>
    I have a few hundred layers to configure, and before writing scripts
    to read database fields and populate these details I wondered how
    others have done this in the past. <br>
    <br>
    From
<a class="moz-txt-link-freetext" href="http://mapserver.org/ogc/wfs_server.html#configuring-your-mapfile-to-serve-wfs-layers">http://mapserver.org/ogc/wfs_server.html#configuring-your-mapfile-to-serve-wfs-layers</a>:<br>
    <dl class="docutils" id="index-38">
      <dt><strong>gml_types</strong></dt>
      <dd>
        <p class="first">(Optional) If this field is “auto” then some
          input feature drivers
          (ie. OGR, POSTGIS, ORACLESPATIAL and native shapefiles) will
          automatically populate the type, width and precision metadata
          for
          the layer based on the source file. Currently this is only
          used for
          OGR based output formats, not the WFS GML2/GML3 output.</p>
        <div class="last highlight-python">
          <div class="highlight">
            <pre><span class="s">"gml_types"</span>   <span class="s">"auto"</span>
</pre>
          </div>
        </div>
      </dd>
    </dl>
    <br>
    I'm using SQL Server 2008 and the MapServer plugin
    (msplugin_mssql2008.dll), so there may be funding for some
    development time for this driver. However from the above description
    it seems no datasources run through a WFS return the field types. <br>
    <br>
    Regards,<br>
    <br>
    Seth<br>
  </body>
</html>