valueReference parameter Parameter discussion .1 Standard presentation parameters

Copyright © 2010 Open Geospatial Consortium 61 myns:Person gml:id=p4467 gml:identifier codespace=http:www.canadaSIN.com424679360gml:identifier myns:lastNameSmithmyns:lastName myns:firstNameMarymyns:firstName myns:age18myns:age myns:sexFemalemyns:sex myns:spouse xlink:href=p4456 myns:location xlink:href = p101 myns:mailAddress myns:Address gml:id=a201 myns:streetNameMain St.myns:streetName myns:streetNumber4myns:streetNumber myns:citySomeCitymyns:city myns:provinceSomeprovincemyns:province myns:postalCodeX1X 1X1myns:postalCode myns:countryCanadamyns:country myns:Address myns:mailAddress myns:phone416-123-4567myns:phone myns:phone416-890-1234myns:phone myns:livesIn xlink:href=h32 myns:isDriving xlink:href=r1432 myns:Person A value reference of valueReference=lastName would present the last name of the person, Smith in this example, in the response document. A value reference of valueReference=myns:mailAddressmyns:Addressmyns:city would present the name of the city in which Mary Smith lives; SomeCity in this example. A value reference of valueReference=valueOfmyns:location would present the location of Mary Smith in the response document by resolving the reference to the value with id p101.

10.2.4.4 AbstractQueryExpression parameter

The GetPropertyValue request operates on a set of features identified using a query expression. This International Standard defines the elements wfs:Query see 7.9.2.2 and wfs:StoredQuery see 7.9.3.2 that may be used as query expressions in a GetPropertyValue operation and which are substitutable for fes:AbstractQueryExpression see ISO 19143, 6.2. Other elements may be defined as being substitutable for fes:AbstractQueryExpression however, this International Standard only assigns meaning to the wfs:Query and wfs:StoredQuery elements. The KVP-encoding of an ad hoc query expression is defined in 7.9.2.3. The KVP-encoding of a stored query expression is defined in 7.9.3.3. KVP-encoded GetPropertyValue requests shall only contain query expressions of one type; either an ad hoc query expression or a stored query expression. 10.3 Response 10.3.1 Response Semantics Figure 16 describes the schema of a GetPropertyValue response. 62 Copyright © 2010 Open Geospatial Consortium Any from I SO TS 19103 SimpleValueCollection 0.. +member 0.. ValueCollection + truncatedResponse [0..1] : ExceptionReport 0..1 +additionalValues 0..1 StandardResponseParameters + timeStamp : DateTime + numberMatched : IntegerOrUnknown + numberReturned : Integer + next : URI + previous : URI State + state [0..1] : StateValue StateValue + valid + superseded + retired + future CodeList Figure 16 — GetPropertyValue response 10.3.2 XML encoding The following XML Schema fragment defines the response to a GetPropertyValue operation: xsd:element name=ValueCollection type=wfs:ValueCollectionType xsd:complexType name=ValueCollectionType xsd:sequence xsd:element ref=wfs:member minOccurs=0 maxOccurs=unbounded xsd:element ref=wfs:additionalValues minOccurs=0 xsd:element ref=wfs:truncatedResponse minOccurs=0 xsd:sequence xsd:attributeGroup ref=wfs:StandardResponseParameters xsd:complexType xsd:element name=member type=wfs:MemberPropertyType xsd:complexType name=MemberPropertyType mixed=true xsd:choice minOccurs=0 xsd:any processContents=lax namespace=other xsd:element ref=wfs:Tuple xsd:element ref=wfs:SimpleFeatureCollection xsd:choice xsd:attribute name=state type=wfs:StateValueType xsd:attributeGroup ref=xlink:simpleLink xsd:complexType xsd:element name=Tuple type=wfs:TupleType xsd:complexType name=TupleType xsd:sequence xsd:element ref=wfs:member minOccurs=2 maxOccurs=unbounded xsd:sequence xsd:complexType xsd:element name=additionalValues xsd:complexType xsd:choice xsd:element ref=wfs:ValueCollection xsd:element ref=wfs:SimpleFeatureCollection xsd:choice xsd:complexType xsd:element xsd:element name=truncatedResponse xsd:complexType xsd:sequence xsd:element ref=ows:ExceptionReport xsd:sequence xsd:complexType xsd:element xsd:simpleType name=StateValueType xsd:union xsd:simpleType xsd:restriction base=xsd:string xsd:enumeration value=valid