Quantity, QuantityList Value objects schema

Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. 187 gml:QuantityList uom=C21. 37. withheld 25.gml:QuantityList

16.4.7 AbstractValue, AbstractScalarValue, AbstractScalarValueList

gml:AbstractValue is an abstract element which acts as the head of a substitution group which contains gml:AbstractScalarValue, gml:AbstractScalarValueList, gml:CompositeValue and gml:ValueExtent, and transitively the elements in their substitution groups. gml:AbstractScalarValue is an abstract element which acts as the head of a substitution group which contains gml:Boolean, gml:Category, gml:Count and gml:Quantity, and transitively the elements in their substitution groups. gml:AbstractScalarValueList is an abstract element which acts as the head of a substitution group which contains gml:BooleanList, gml:CategoryList, gml:CountList and gml:QuantityList, and transitively the elements in their substitution groups. These elements use the following schema declarations: element name=AbstractValue type=anyType abstract=true substitutionGroup=gml:AbstractObject element name=AbstractScalarValue type=anyType abstract=true substitutionGroup=gml:AbstractValue element name=AbstractScalarValueList type=anyType abstract=true substitutionGroup=gml:AbstractValue These elements may be used in an application schema as variables, so that in an XML instance document any member of its substitution group may occur.

16.4.8 Value

This is a convenience choice group which unifies generic values defined in this clause with spatial and temporal objects and the measures described above, so that any of these may be used within aggregate values. This element uses the following schema declaration: group name=Value choice element ref=gml:AbstractValue element ref=gml:AbstractGeometry element ref=gml:AbstractTimeObject element ref=gml:Null choice group

16.4.9 valueProperty, valueComponent, valueComponents

Elements that instantiates a GML property which refers to, or contains, a Value or Values; these elements use the following schema declarations: element name=valueProperty type=gml:ValuePropertyType element name=valueComponent type=gml:ValuePropertyType complexType name=ValuePropertyType sequence minOccurs=0 group ref=gml:Value sequence attributeGroup ref=gml:AssociationAttributeGroup 188 Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. attributeGroup ref=gml:OwnershipAttributeGroup complexType element name=valueComponents type=gml:ValueArrayPropertyType complexType name=ValueArrayPropertyType sequence maxOccurs=unbounded group ref=gml:Value sequence attributeGroup ref=gml:OwnershipAttributeGroup complexType Note that both gml:ValuePropertyType and gml:ValueArrayPropertyType have the group named gml:Value as their content. This means that any of the elements in the gml:Value choice group, or in the substitution groups of the members of the choice group may occur as the content of a value property. The gml:valueProperty element is a convenience element for general use. The gml:valueComponent and gml:valueComponents elements are specifically used in compositing.

16.4.10 CompositeValue

gml:CompositeValue is an aggregate value built from other values . It contains zero or an arbitrary number of gml:valueComponent elements, and zero or one gml:valueComponents property elements. It may be used for strongly coupled aggregates vectors, tensors or for arbitrary collections of values. This element uses the following schema declarations: element name=CompositeValue type=gml:CompositeValueType substitutionGroup=gml:AbstractValue complexType name=CompositeValueType complexContent extension base=gml:AbstractGMLType sequence element ref=gml:valueComponent minOccurs=0 maxOccurs=unbounded element ref=gml:valueComponents minOccurs=0 sequence attributeGroup ref=gml:AggregationAttributeGroup extension complexContent complexType EXAMPLE In an instance a gml:CompositeValue may appear as in the following examples: gml:CompositeValue gml:valueComponent gml:QuantityList uom=C21. 37. withheld 25.gml:QuantityList gml:valueComponent gml:valueComponent gml:Categorygoodgml:Category gml:valueComponent gml:valueComponent gml:Count xsi:nil=‖true‖ nilReason=‖missing‖ gml:valueComponent gml:valueComponents gml:Point srsName=urn:x-ogc:def:crs:EPSG:6.6:4326gml:pos71. -32.gml:posgml:Point gml:Point srsName=urn:x-ogc:def:crs:EPSG:6.6:4326gml:pos70. -35.gml:posgml:Point gml:Point srsName=urn:x-ogc:def:crs:EPSG:6.6:4326gml:pos74. -37.gml:posgml:Point gml:valueComponents gml:CompositeValue