Single query response Parameter discussions .1 lockId parameter

Copyright © 2010 Open Geospatial Consortium 69 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.opengis.netwfs2.0 http:schemas.opengis.netwfs2.0.0wfs.xsd http:www.opengis.netgml3.2 http:schemas.opengis.netgml3.2.1gml.xsd wfs:member wfs:FeatureCollection timeStamp=2008-08-01T22:47:02 numberMatched=15 numberReturned=15 ... wfs:FeatureCollection wfs:member wfs:member wfs:FeatureCollection timeStamp=2008-08-01T22:47:04 numberMatched=257 numberReturned=257 ... wfs:FeatureCollection wfs:member wfs:member wfs:FeatureCollection timeStamp=2008-08-01T22:47:06 numberMatched=77 numberReturned=28 ... wfs:FeatureCollection wfs:member wfs:FeatureCollection EXAMPLE 2 The following fragment illustrates a response to GetFeature operations that contains multiple query expressions where the component collections are referenced. ?xml version=1.0 encoding=UTF-8? wfs:FeatureCollection timeStamp=2008-08-01T22:47:02 numberMatched=349 numberReturned=300 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.opengis.netwfs2.0 http:schemas.opengis.netwfs2.0.0wfs.xsd http:www.opengis.netgml3.2 http:schemas.opengis.netgml3.2.1gml.xsd wfs:member xlink:href=... ... wfs:member xlink:href=... wfs:FeatureCollection Feature members that satisfy more than one query expression in a GetFeature operation shall appear in one collection and be referenced by all others. The order of the collections in the response document shall be the same as the order of the query expressions in the GetFeature request; although the queries may be processed in any order the server desires.

11.3.3.6 Join query response

If a GetFeature operations contain a query expression that is performing a join, a server shall use the wfs:Tuple element see 10.3.2 to report all tuples of features that satisfy the join predicate. EXAMPLE 1 The following XML fragment shows the response generated by a query expression joining three feature types ns1:FeatureTypeOne, ns1:FeatureTypeTwo and ns2:FeatureTypeThree: ?xml version=1.0 encoding=UTF-8? wfs:FeatureCollection timeStamp=2008-08-01T22:47:02 numberMatched=200 numberReturned=200 xmlns:ns1=http:www.someserver.comns1 xmlns:ns2=http:www.someserver.comns2 xmlns:wfs=http:www.opengis.netwfs2.0