Join query response Parameter discussions .1 lockId parameter
70
Copyright © 2010 Open Geospatial Consortium xmlns:gml=http:www.opengis.netgml3.2
xmlns:xsi=http:www.w3.org2001XMLSchema-instance xsi:schemaLocation=http:www.someserver.comns1 .ns1.xsd
http:www.xomeserver.comns2 .ns2.xsd http:www.opengis.netwfs2.0
http:schemas.opengis.netwfs2.0.0wfs.xsd http:www.opengis.netgml3.2
http:schemas.opengis.netgml3.2.1gml.xsd wfs:boundedBy
gml:Envelope srsName=urn:ogc:def:crs:EPSG::4326 gml:lowerCorner-32.7638053894043 104.1429748535156gml:lowerCorner
gml:upperCorner0 133.3553924560547gml:upperCorner gml:Envelope
wfs:boundedBy wfs:member
wfs:Tuple wfs:member
ns1:FeatureTypeOne...ns1:FeatureTypeOne wfs:member
wfs:member ns1:FeatureTypeTwo...ns1:FeatureTypeTwo
wfs:member wfs:member
ns2:FeatureTypeThree...ns2:FeatureTypeThree wfs:member
wfs:Tuple wfs:member
wfs:member wfs:Tuple
wfs:member ns1:FeatureTypeOne...ns1:FeatureTypeOne
wfs:member wfs:member
ns1:FeatureTypeTwo...ns1:FeatureTypeTwo wfs:member
wfs:member ns1:FeatureTypeThree...ns1:FeatureTypeThree
wfs:member wfs:Tuple
wfs:member wfs:member
wfs:Tuple wfs:member xlink:href=...
wfs:member xlink:href=... wfs:member
ns2:FeatureTypeThree...ns2:FeatureTypeThree wfs:member
wfs:Tuple wfs:member
... wfs:FeatureCollection
GetFeature operations that contain a mix of join and non-join query expressions can contain component feature collections containing a mixture of wfs:member and wfs:Tuple elements.
EXAMPLE 2 The following fragment shows a response document for a GetFeature operation that contains a mix of
join and non-join query expressions.
?xml version=1.0 encoding=UTF-8? wfs:FeatureCollection
timeStamp=2008-08-01T22:47:02 numberMatched=349
numberReturned=300 xmlns=http:www.someserver.commyns
xmlns:wfs=http:www.opengis.netwfs2.0 xmlns:gml=http:www.opengis.netgml3.2
xmlns:xsi=http:www.w3.org2001XMLSchema-instance xsi:schemaLocation=http:www.someserver.commyns .RoadRail.xsd
http:www.opengis.netwfs2.0 http:schemas.opengis.netwfs2.0.0wfs.xsd
http:www.opengis.netgml3.2 http:schemas.opengis.netgml3.2.1gml.xsd
wfs:boundedBy gml:Envelope srsName=urn:ogc:def:crs:EPSG::4326
gml:lowerCorner-32.7638053894043 104.1429748535156gml:lowerCorner
Copyright © 2010 Open Geospatial Consortium
71
gml:upperCorner0 133.3553924560547gml:upperCorner gml:Envelope
wfs:boundedBy wfs:member
wfs:FeatureCollection timeStamp=2008-08-01T22:47:02
numberMatched=15 numberReturned=15
wfs:member...wfs:member wfs:member...wfs:member
... wfs:FeatureCollection
wfs:member wfs:member
wfs:FeatureCollection timeStamp=2008-08-01T22:47:04
numberMatched=257 numberReturned=257
wfs:member wfs:Tuple
wfs:member...wfs:member wfs:member...wfs:member
... wfs:Tuple
wfs:member wfs:member
wfs:Tuple wfs:member...wfs:member
wfs:member...wfs:member ...
wfs:Tuple wfs:member
... wfs:FeatureCollection
wfs:member wfs:member
wfs:FeatureCollection timeStamp=2008-08-01T22:47:06
numberMatched=77 numberReturned=28
wfs:member...wfs:member wfs:member...wfs:member
... wfs:FeatureCollection
wfs:member wfs:FeatureCollection
11.3.4 Additional objects
If additional objects need to be included in the response document in order to satisfy the resolution of referenced resources see 7.6.4, these objects shall be placed within the wfs:additionalObjects element and
resource references in the returned features shall be relocated to point to these local copies of the referenced resources. As specified in 7.6.4.5, the server shall also arrange that all unresolved nested resource references
are appropriately relocated to point to the intended resources.
11.3.5 GetFeatureById response
Executing a GetFeature operation containing the GetFeatureById stored query see 7.9.3.6 shall generate a response composed of a single feature encoded according to the values of the outputFormat parameter see
7.6.3.7. The response shall only contain the feature XML without any of the normal containing elements generated as a result of executing a GetFeature operation see 11.3.3.4, 11.3.3.5, 11.3.3.6.
11.4 Exceptions
In the event that a web feature service encounters an error parsing a GetFeature request, it shall raise an OperationParsingFailed exception as described in 7.5.
In the event that a web feature service encounters an error processing a GetFeature request, it shall raise an OperationProcessingFailed exception as described in 7.5.
72
Copyright © 2010 Open Geospatial Consortium
12 LockFeature operation