Title, Abstract and Metadata parameters

82 Copyright © 2010 Open Geospatial Consortium wfs:Parameter name=AreaOfInterest type=gml:PolygonPropertyType wfs:QueryExpressionText returnFeatureTypes=myns:Parks myns:Lakes myns:Rivers language=urn:ogc:def:queryLanguage:OGC-WFS::WFS_QueryExpression isPrivate=false wfs:Query typeNames=myns:Parks fes:Filter fes:Within fes:ValueReferencegeometryfes:ValueReference {AreaOfInterest} fes:Within fes:Filter wfs:Query wfs:Query typeNames=myns:Lakes fes:Filter fes:Within fes:ValueReferenceregionfes:ValueReference {AreaOfInterest} fes:Within fes:Filter wfs:Query wfs:Query typeNames=myns:Rivers fes:Filter fes:Within fes:ValueReferenceregionfes:ValueReference {AreaOfInterest} fes:Within fes:Filter wfs:Query wfs:QueryExpressionText wfs:StoredQueryDefinition wfs:CreateStoredQuery

14.2.2.5.2 Declaring the returned feature types

The returnFeatureTypes attribute on the wfs:QueryExpressionText element shall be used to specify the feature types that each component query expression returns. If more than one return feature type is listed, this indicates that the corresponding component query expression returns a join tuple composed of the listed feature types. The returned feature type names shall be from the list of feature type names that a server advertises in its capabilities document see 8.3.3.

14.2.2.5.3 Implementation language

The language attribute of the wfs:QueryExpressionText element shall be used to specify the implementation language of a component query expression. Servers that conform to this International Standard shall support the value urn:ogc:def:queryLanguage:OGC- WFS::WFSQueryExpression indicating that the component query expression is specified using the wfs:Query see 7.9.2.2 or wfs:StoredQuery see 7.9.3.2 elements. Other implementation languages may be supported but this International Standard does not assign any meaning to these other values. If a server supports other implementation languages for stored queries, it shall advertise these language parameter values in it capabilities document see Table 12. NOTE The specification of a component query expression may be expressed in any language that the server declares it supports in its capabilities document see 8.3. This can include languages such as SQL, XQuery, XPath, and SPARQL . In fact, if the server supports it, queries may even be expressed in code such as Java.

14.2.2.5.4 IsPrivate parameter

The implementation text of a component query expression, specified using the wfs:QueryExpressionText element, may be private or public. Private means that the implementation text is visible only to the creator of the stored query. Public means that the implementation text is visible to everyone.