New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WFS 1.1 property names, mandatory, optional attributes #3319

Closed
mapserver-bot opened this Issue Apr 3, 2012 · 2 comments

Comments

Projects
None yet
1 participant
@mapserver-bot

mapserver-bot commented Apr 3, 2012

Reporter: assefa
Date: 2010/02/16 - 18:07
Trac URL: http://trac.osgeo.org/mapserver/ticket/3319
WFS 1.1 GetFeature request uses the Propertyname parameter to retrive non-mandatory attributes.

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).
When a PROPERTYNAME parameter is sent witha GetFeature, It basically over-writes the gml_include metadata.

@mapserver-bot

This comment has been minimized.

mapserver-bot commented Apr 3, 2012

Author: nsavard
Date: 2010/03/11 - 21:26
Post request: wfs-1.1.0-Basic-GetFeature-tc16.4

@mapserver-bot

This comment has been minimized.

mapserver-bot commented Apr 3, 2012

Author: nsavard
Date: 2010/03/11 - 21:36
Also the following post requests:

wfs-1.1.0-Basic-GetFeature-tc5.2
wfs-1.1.0-Basic-GetFeature-tc5.3
wfs-1.1.0-Basic-GetFeature-tc15.1
wfs-1.1.0-Basic-GetFeature-tc35.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment