Documentation for fieldgml

Complex Type: ConversionToPreferredUnitType

[Table of contents]

Super-types: UnitOfMeasureType < ConversionToPreferredUnitType (by extension)
Sub-types: None
Name ConversionToPreferredUnitType
Abstract no
Documentation Relation of a unit to the preferred unit for this quantity type, specified by an arithmetic conversion (scaling and/or offset). A preferred unit is either a base unit or a derived unit selected for all units of one quantity type. The mandatory attribute "uom" shall reference the preferred unit that this conversion applies to. The conversion is specified by one of two alternative elements: "factor" or "formula".
XML Instance Representation
<...
uom="anyURI [1]

'Reference to a unit of measure definition, usually within the same XML document but possibly outside the XML document which contains this reference. For a reference within the same XML document, the \"#\" symbol should be used, followed by a text abbreviation of the unit name. However, the \"#\" symbol may be optional, and still may be interpreted as a reference.'

"
>
Start Choice [1]
<gml:factor> double </gml:factor> [1]

'Specification of the scale factor by which a value using this unit of measure can be multiplied to obtain the corresponding value using the preferred unit of measure.'

<gml:formula> gml:FormulaType </gml:formula> [1]

'Specification of the formula by which a value using this unit of measure can be converted to obtain the corresponding value using the preferred unit of measure.'

End Choice
</...>
Diagram
Schema Component Representation
<complexType name="ConversionToPreferredUnitType">
<complexContent>
<extension base=" gml:UnitOfMeasureType ">
<choice>
<element name="factor" type=" double "/>
<element name="formula" type=" gml:FormulaType "/>
</choice>
</extension>
</complexContent>
</complexType>