Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
WFS 1.1 property names, mandatory, optional attributes #3319
section 9.2 of the WFS 1.1.0 specs (OGC 04-094)
"The response to a GetFeature request must be valid according to the structure described by the XML Schema description of the feature type. Thus the WFS must report all the mandatory properties of each feature, as well any properties requested through the wfs:PropertyName element. In the event that a WFS encounters a query that does not select all mandatory properties of a feature, the WFS will internally augment the property name list to include all mandatory property names. A WFS client must thus be prepared to deal with a situation where it receives more property values than it requests through wfs:PropertyName elements."
Right now we do not have any mechanism to allow use to specify mandatory and optional attributes (we use what is specified in gml_inlcide/exclude_items, to list the attributes in a DescriberDeature).