[mapserver-users] Layer Attribute Metadata

Steve Lime sdlime at gmail.com
Tue Mar 30 11:36:23 PDT 2021


Hi Seth: I don't think adding it would be difficult. What would the emitted
attribute look like w/that property added? --Steve

On Sat, Mar 27, 2021 at 4:11 PM Seth G <sethg at geographika.co.uk> wrote:

> Hi all,
>
> Is anyone aware of any OGC service which can return comments for a layer
> attribute/field?
> The WFS DescribeFeatureType [1] seems the most likely candidate but has no
> "description" or equivalent property at the attribute level. Attributes are
> returned as follows:
>
> <xs:element name="field1" type="xs:double" nillable="true" minOccurs="0"/>
>
> The docs for the WFS layer object
> https://www.mapserver.org/ogc/wfs_server.html#layer-object allow the
> following to be set for each attribute:
>
> gml_[item name]_alias
> gml_[item name]_precision
> gml_[item name]_type
> gml_[item name]_value
> gml_[item name]_width
>
> It would be nice if there was an option to set something like the
> following, and have it returned as part of the layer metadata:
>
> gml_[item name]_description
>
> This way the automated parts of the attribute (type, precision etc.) could
> be included along with a description of what the field contains.
>
> Does anyone have a way of handling this with MapServer?
>
> Seth
>
> [1]
> http://opengeospatial.github.io/e-learning/wfs/text/operations.html#describefeaturetype
>
>
> --
> web:http://geographika.co.uk
> twitter: @geographika
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20210330/1f6a967f/attachment.html>


More information about the mapserver-users mailing list