<div dir="ltr">Hi Seth: I don't think adding it would be difficult. What would the emitted attribute look like w/that property added? --Steve<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 27, 2021 at 4:11 PM Seth G <<a href="mailto:sethg@geographika.co.uk">sethg@geographika.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
Is anyone aware of any OGC service which can return comments for a layer attribute/field?<br>
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:<br>
<br>
<xs:element name="field1" type="xs:double" nillable="true" minOccurs="0"/><br>
<br>
The docs for the WFS layer object <a href="https://www.mapserver.org/ogc/wfs_server.html#layer-object" rel="noreferrer" target="_blank">https://www.mapserver.org/ogc/wfs_server.html#layer-object</a> allow the following to be set for each attribute:<br>
<br>
gml_[item name]_alias<br>
gml_[item name]_precision<br>
gml_[item name]_type<br>
gml_[item name]_value<br>
gml_[item name]_width<br>
<br>
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:<br>
<br>
gml_[item name]_description<br>
<br>
This way the automated parts of the attribute (type, precision etc.) could be included along with a description of what the field contains. <br>
<br>
Does anyone have a way of handling this with MapServer?<br>
<br>
Seth<br>
<br>
[1] <a href="http://opengeospatial.github.io/e-learning/wfs/text/operations.html#describefeaturetype" rel="noreferrer" target="_blank">http://opengeospatial.github.io/e-learning/wfs/text/operations.html#describefeaturetype</a><br>
<br>
<br>
--<br>
web:<a href="http://geographika.co.uk" rel="noreferrer" target="_blank">http://geographika.co.uk</a><br>
twitter: @geographika<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div>