Definition Type: ComplexType
Name: ConversionToPreferredUnitType
Namespace: http://niem.gov/niem/external/ogc-gml/3.1.1/dhs-gmo/1.0.0
Type: gml:UnitOfMeasureType
Containing Schema: gml.xsd
Abstract
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".
Collapse XSD Schema Diagram:
Drilldown into formula in schema gml_xsd Drilldown into factor in schema gml_xsd Drilldown into uom in schema gml_xsd Drilldown into UnitOfMeasureType in schema gml_xsdXSD Diagram of ConversionToPreferredUnitType in schema gml_xsd (National Information Exchange Model (NEIM))
Collapse XSD Schema Code:
<complexType name="ConversionToPreferredUnitType">
    <annotation>
        <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". </documentation>
    </annotation>
    <complexContent>
        <extension base="gml:UnitOfMeasureType">
            <choice>
                <element name="factor" type="double">
                    <annotation>
                        <documentation>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. </documentation>
                    </annotation>
                </element>
                <element name="formula" type="gml:FormulaType">
                    <annotation>
                        <documentation>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. </documentation>
                    </annotation>
                </element>
            </choice>
        </extension>
    </complexContent>
</complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
factor gml:factor (1) (1)
formula gml:formula (1) (1)
Collapse Child Attributes:
Name Type Default Value Use
uom gml:uom Required
Collapse Derivation Tree:
Collapse References:
gml:conversionToPreferredUnit, gml:roughConversionToPreferredUnit