gml:ValueArray
A Value Array is used for homogeneous arrays of primitive and aggregate values. The member values may be scalars, composites, arrays or lists. ValueArray has the same content model as CompositeValue, but the member values shall be homogeneous. The element declaration contains a Schematron constraint which expresses this restriction precisely. Since the members are homogeneous, the gml:referenceSystem (uom, codeSpace) may be specified on the gml:ValueArray itself and inherited by all the members if desired.
Element information
Namespace: http://www.opengis.net/gml/3.2
Schema document: external/ogc/gml/3.2.1/valueObjects.xsd
Type: gml:ValueArrayType
Properties: Global, Qualified
Content
- Sequence [1..1]
- gml:metaDataProperty [0..*] deprecated
- gml:description [0..1] The value of this property is a text description of the object. gml:description uses gml:StringOrRefType as its content model, so it may contain a simple text string content, or carry a reference to an external description. The use of gml:description to reference an external description has been deprecated and replaced by the gml:descriptionReference property.
- gml:descriptionReference [0..1] The value of this property is a remote text description of the object. The xlink:href attribute of the gml:descriptionReference property references the external description.
- gml:identifier [0..1] Often, a special identifier is assigned to an object by the maintaining authority with the intention that it is used in references to the object For such cases, the codeSpace shall be provided. That identifier is usually unique either globally or within an application domain. gml:identifier is a pre-defined property for such identifiers.
- gml:name [0..*] The gml:name property provides a label or identifier for the object, commonly a descriptive name. An object may have several names, typically assigned by different authorities. gml:name uses the gml:CodeType content model. The authority for a name is indicated by the value of its (optional) codeSpace attribute. The name may or may not be unique, as determined by the rules of the organization responsible for the codeSpace. In common usage there will be one name per authority, so a processing application may select the name from its preferred codeSpace.
- gml:valueComponent [0..*] Property that refers to, or contains, a Value.
- gml:valueComponents [0..1] Property that contains Values.
from type gml:AbstractGMLTypefrom group gml:StandardObjectPropertiesfrom type gml:CompositeValueType
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
gml:id | [1..1] | xsd:ID | from type gml:AbstractGMLType | |
aggregationType | [0..1] | gml:AggregationType | from group gml:AggregationAttributeGroup | |
codeSpace | [0..1] | xsd:anyURI | from group gml:referenceSystem | |
uom | [0..1] | gml:UomIdentifier | from group gml:referenceSystem |
Used in
- Group gml:Value
- Type gml:ArrayAssociationType (Element gml:members)
- Type gml:RangeSetType (Element gml:rangeSet)
- Type gml:ValueArrayPropertyType via reference to gml:Value (Element gml:valueComponents)
- Type gml:ValuePropertyType via reference to gml:Value (Elements gml:valueProperty, gml:valueComponent)
Substitution hierarchy
- gml:AbstractObject
- can be substituted with gml:AbstractValue
- can be substituted with gml:CompositeValue
- can be substituted with gml:ValueArray
- can be substituted with gml:CompositeValue
- can be substituted with gml:AbstractValue
Sample instance
<gml:ValueArray gml:id="ID" uom=""> <gml:metaDataProperty> <gml:GenericMetaData>Any text, intermingled with: <!--any element--> </gml:GenericMetaData> </gml:metaDataProperty> <gml:description>string</gml:description> <gml:descriptionReference/> <gml:identifier codeSpace="http://www.example.com/">string</gml:identifier> <gml:name>string</gml:name> <gml:valueComponent> <gml:Boolean>true</gml:Boolean> </gml:valueComponent> <gml:valueComponents> <gml:Boolean>true</gml:Boolean> </gml:valueComponents> </gml:ValueArray>