Documentation for fieldgml

Complex Type: ValueArrayType

[Table of contents]

Super-types: gml:AbstractGMLType < CompositeValueType (by extension) < ValueArrayType (by extension)
Sub-types: None
Name ValueArrayType
Abstract no
Documentation 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 must be homogeneous. The element declaration contains a Schematron constraint which expresses this restriction precisely. Since the members are homogeneous, the referenceSystem (uom, codeSpace) may be specified on the ValueArray itself and implicitly inherited by all the members if desired. Note that a_ScalarValueList is preferred for arrays of Scalar Values since this is a more efficient encoding.
XML Instance Representation
<...
gml:id="[0..1]"
codeSpace="anyURI [0..1]"
uom="anyURI [0..1]">
<gml:description> ... </gml:description> [0..1]
<gml:name> ... </gml:name> [0..*]

'Multiple names may be provided. These will often be distinguished by being assigned by different authorities, as indicated by the value of the codeSpace attribute. In an instance document there will usually only be one name per authority.'

</...>
Diagram
Schema Component Representation
<complexType name="ValueArrayType">
<complexContent>
<extension base=" gml:CompositeValueType ">
<attributeGroup ref=" gml:referenceSystem "/>
</extension>
</complexContent>
</complexType>