Showing:

Annotations
Attributes
Diagrams
Instances
Properties
Source
Used by
Element gml:ConversionToPreferredUnitType / gml:factor
Namespace http://www.opengis.net/gml/3.2
Diagram
Diagram
Type double
Properties
content: simple
Source
<element name="factor" type="double"/>
Schema location http://schemas.opengis.net/gml/3.2.1/units.xsd
Element gml:ConversionToPreferredUnitType / gml:formula
Namespace http://www.opengis.net/gml/3.2
Diagram
Diagram index255.tmp#id645 index255.tmp#id646 index255.tmp#id647 index255.tmp#id648 index255.tmp#id644
Type gml:FormulaType
Properties
content: complex
Model gml:a{0,1} , gml:b , gml:c , gml:d{0,1}
Children gml:a, gml:b, gml:c, gml:d
Instance
<gml:formula>
  <gml:a>{0,1}</gml:a>
  <gml:b>{1,1}</gml:b>
  <gml:c>{1,1}</gml:c>
  <gml:d>{0,1}</gml:d>
</gml:formula>
Source
<element name="formula" type="gml:FormulaType"/>
Schema location http://schemas.opengis.net/gml/3.2.1/units.xsd
Complex Type gml:ConversionToPreferredUnitType
Namespace http://www.opengis.net/gml/3.2
Annotations
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.
Diagram
Diagram index638.tmp#id620 index638.tmp#id619 index999.tmp#id642 index999.tmp#id643
Type extension of gml:UnitOfMeasureType
Type hierarchy
Used by
Model gml:factor | gml:formula
Children gml:factor, gml:formula
Attributes
QName Type Fixed Default Use Annotation
uom gml:UomIdentifier required
Source
<complexType name="ConversionToPreferredUnitType">
  <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.</documentation>
  </annotation>
  <complexContent>
    <extension base="gml:UnitOfMeasureType">
      <choice>
        <element name="factor" type="double"/>
        <element name="formula" type="gml:FormulaType"/>
      </choice>
    </extension>
  </complexContent>
</complexType>
Schema location http://schemas.opengis.net/gml/3.2.1/units.xsd