complexType ConversionToPreferredUnitType
diagram SensorML_p131.png
namespace http://www.opengis.net/gml
type extension of gml:UnitOfMeasureType
properties
base gml:UnitOfMeasureType
children gml:factor gml:formula
used by
elements conversionToPreferredUnit roughConversionToPreferredUnit
annotation
documentation
The inherited attribute uom references the preferred unit that this conversion applies to. The conversion of a unit to the preferred unit for this physical quantity type is specified by an arithmetic conversion (scaling and/or offset). The content model extends gml:UnitOfMeasureType, which has a mandatory attribute uom which identifies the preferred unit for the physical quantity type that this conversion applies to. The conversion is specified by a choice of - gml:factor, which defines the scale factor, or - gml:formula, which defines a formula by which a value using the conventional unit of measure can be converted to obtain the corresponding value using the preferred unit of measure. The formula defines the parameters of a simple formula by which a value using the conventional 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 base 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.
source <xs:complexType name="ConversionToPreferredUnitType">
 
<xs:annotation>
   
<xs:documentation>The inherited attribute uom references the preferred unit that this conversion applies to. The conversion of a unit to the preferred unit for this physical quantity type is specified by an arithmetic conversion (scaling and/or offset). The content model extends gml:UnitOfMeasureType, which has a mandatory attribute uom which identifies the preferred unit for the physical quantity type that this conversion applies to. The conversion is specified by a choice of - gml:factor, which defines the scale factor, or - gml:formula, which defines a formula by which a value using the conventional unit of measure can be converted to obtain the corresponding value using the preferred unit of measure. The formula defines the parameters of a simple formula by which a value using the conventional 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 base 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.
</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="gml:UnitOfMeasureType">
     
<xs:choice>
       
<xs:element name="factor" type="double"/>
       
<xs:element name="formula" type="gml:FormulaType"/>
     
</xs:choice>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element ConversionToPreferredUnitType/factor
diagram SensorML_p132.png
namespace http://www.opengis.net/gml
type xs:double
properties
isRef 0
content simple
source <xs:element name="factor" type="double"/>

element ConversionToPreferredUnitType/formula
diagram SensorML_p133.png
namespace http://www.opengis.net/gml
type gml:FormulaType
properties
isRef 0
content complex
children gml:a gml:b gml:c gml:d
source <xs:element name="formula" type="gml:FormulaType"/>


XML Schema documentation generated by
XMLSpy Schema Editor http://www.altova.com/xmlspy