Version number form and value

12 Copyright © 2010 Open Geospatial Consortium DescribeStoredQueries XML KVP 6.2.5 KVP parameter encoding rules 6.2.5.1 Introduction Aspects of KVP encoding WFS requests are described in 6.2.5.2 and 6.2.5.3.

6.2.5.2 Parameter ordering and case

Parameter names shall not be case sensitive, but parameter values shall be case sensitive. In this International Standard, parameter names used in KVP encoding are typically shown in uppercase for typographical clarity, not as a requirement. Parameters in a request may be specified in any order. A web feature service shall be prepared to encounter parameters that are not part of this International Standard. In terms of producing results per this International Standard, a web feature service shall ignore such parameters.

6.2.5.3 Parameter lists

Parameters consisting of lists shall be encoded as described in ISO 19143, 5.5. EXAMPLE In the case where multiple join queries see 7.9.2.5.3 are KVP-encoded, parentheses are used to isolate the various parameters so that their values align correctly. This is illustrated by the following example: TYPENAMES=ns1:F1,ns2:F2ns1:F1,ns1:F1ALIASES=A,BC,DFILTER=Filter … for A,B … FilterFilter…for C,D…Filter This KVP-encoded fragment encodes two join queries. The first query joins the feature types ns1:F1 and ns2:F2 which have been aliased to A and B. The second query joins the feature types ns1:F1 and ns1:F1 a self-join which have been aliased to C and D. The FILTER parameter encodes two filters, one for each query, delimited with parentheses. All the parameter values align 1:1. This fragment is equivalent to the following two individual KVP-encoded fragments: TYPENAMES=ns1:F1,ns2:F2ALIASES=A,BFILTER=Filter…for A,B…Filter TYPENAMES=ns1:F1,ns1:F1ALIASES=C,DFILTER=Filter…for C,D…Filter

6.3 Namespaces

Namespaces see W3C XML Namespaces are used to discriminate XML vocabularies from one another. For the WFS there are four normative namespace definitions, namely: ⎯ http:www.opengis.netwfs2.0 - for the WFS interface vocabulary ⎯ http:www.opengis.netgml3.2 - for the GML vocabulary see ISO 19136:2007 ⎯ http:www.opengis.netfes2.0 - for the OGC Filter vocabulary see ISO 19143, 5.4 ⎯ http:www.opengis.netows1.1 - for the OWS Common vocabulary see OGC 06-121r3 In addition, WFS implementations may make use of one or more GML Application Schemas and these schemas will, in turn, use one or more application namespaces e.g. http:www.someserver.commyns. While many of the examples in this International Standard use a single namespace, multiple namespaces may be used, as shown in 11.3.3.