[mapserver-dev] WFS and gml_types auto

geographika geographika at gmail.com
Fri Oct 5 01:36:59 PDT 2012


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.
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.



    (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.

    "gml_types"    "auto"

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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20121005/08b4b828/attachment.html>

More information about the mapserver-dev mailing list