Documentation for fieldgml

Complex Type: FormulaType

[Table of contents]

Super-types: None
Sub-types: None
Name FormulaType
Abstract no
Documentation Paremeters of a simple formula by which a value using this unit of measure can be converted to the corresponding value using the preferred unit of measure. The formula element contains elements a, b, c and d, whose values use the XML Schema type "double". These values are used in the formula y = (a + bx) / (c + dx), where x is a value using this unit, and y is the corresponding value using the preferred unit. The elements a and d are optional, and if values are not provided, those parameters are considered to be zero. If values are not provided for both a and d, the formula is equivalent to a fraction with numerator and denominator parameters.
XML Instance Representation
<...>
<gml:a> double </gml:a> [0..1]
<gml:b> double </gml:b> [1]
<gml:c> double </gml:c> [1]
<gml:d> double </gml:d> [0..1]
</...>
Diagram
Schema Component Representation
<complexType name="FormulaType">
<sequence>
<element name="a" type=" double " minOccurs="0"/>
<element name="b" type=" double "/>
<element name="c" type=" double "/>
<element name="d" type=" double " minOccurs="0"/>
</sequence>
</complexType>