XML Schema "units.xsd"
Target Namespace:
Version:
3.2.1.2
Defined Components:
elements (11 global + 7 local), complexTypes (8)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
http://schemas.opengis.net/gml/3.2.1/units.xsd; see XML source
Includes Schemas (2):
Included in Schemas (1):
Annotation
See ISO/DIS 17.2. Several GML Schema components concern or require a reference scale or units of measure. Units are required for quantities that may occur as values of properties of feature types, as the results of observations, in the range parameters of a coverage, and for measures used in Coordinate Reference System definitions. The basic unit definition is an extension of the general gml:Definition element defined in 16.2.1. Three specialized elements for unit definition are further derived from this. This model is based on the SI system of units [ISO 1000], which distinguishes between Base Units and Derived Units. - Base Units are the preferred units for a set of orthogonal fundamental quantities which define the particular system of units, which may not be derived by combination of other base units. - Derived Units are the preferred units for other quantities in the system, which may be defined by algebraic combination of the base units. In some application areas Conventional units are used, which may be converted to the preferred units using a scaling factor or a formula which defines a re-scaling and offset. The set of preferred units for all physical quantity types in a particular system of units is composed of the union of its base units and derived units. Unit definitions are substitutable for the gml:Definition element declared as part of the dictionary model. A dictionary that contains only unit definitions and references to unit definitions is a units dictionary. GML is an OGC Standard. Copyright (c) 2007,2010 Open Geospatial Consortium. To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
All Element Summary
Type:
double
Content:
simple
Defined:
locally within gml:FormulaType complexType; see XML source
Type:
double
Content:
simple
Defined:
locally within gml:FormulaType complexType; see XML source
A base unit is a unit of measure that cannot be derived by combination of other base units within a particular system of units.
Type:
Content:
complex, 1 attribute, 10 elements
Subst.Gr:
Defined:
globally; see XML source
Used:
never
Type:
double
Content:
simple
Defined:
locally within gml:FormulaType complexType; see XML source
The catalogSymbol is the preferred lexical symbol used for this unit of measure.
Type:
Content:
simple, 1 attribute
Defined:
globally; see XML source
Used:
Conventional units that are neither base units nor defined by direct combination of base units are used in many application domains.
Type:
Content:
complex, 1 attribute, 12 elements
Subst.Gr:
Defined:
globally; see XML source
Used:
never
The elements gml:conversionToPreferredUnit and gml:roughConversionToPreferredUnit represent parameters used to convert conventional units to preferred units for this physical quantity type.
Type:
Content:
complex, 1 attribute, 2 elements
Defined:
globally; see XML source
Used:
Type:
double
Content:
simple
Defined:
locally within gml:FormulaType complexType; see XML source
A set of gml:derivationUnitTerm elements describes a derived unit of measure.
Type:
Content:
empty, 2 attributes
Defined:
globally; see XML source
Used:
Derived units are defined by combination of other units.
Type:
Content:
complex, 1 attribute, 10 elements
Subst.Gr:
Defined:
globally; see XML source
Used:
never
gml:factor (type double)
Type:
double
Content:
simple
Defined:
Type:
Content:
complex, 4 elements
Defined:
The gml:quantityType property indicates the phenomenon to which the units apply.
Type:
Content:
simple, 9 attributes
Defined:
globally; see XML source
Used:
The gml:quantityTypeReference property indicates the phenomenon to which the units apply.
Type:
Content:
empty, 10 attributes
Defined:
globally; see XML source
Used:
The elements gml:conversionToPreferredUnit and gml:roughConversionToPreferredUnit represent parameters used to convert conventional units to preferred units for this physical quantity type.
Type:
Content:
complex, 1 attribute, 2 elements
Defined:
globally; see XML source
Used:
A gml:UnitDefinition is a general definition of a unit of measure.
Type:
Content:
complex, 1 attribute, 9 elements
Subst.Gr:
may substitute for elements: gml:Definition, gml:AbstractGML, gml:AbstractObject; may be substituted with 3 elements
Defined:
globally; see XML source
Used:
at 11 locations
The element gml:unitOfMeasure is a property element to refer to a unit of measure.
Type:
Content:
empty, 1 attribute
Defined:
globally; see XML source
Used:
never
Type:
Content:
empty, 10 attributes
Defined:
locally within gml:BaseUnitType complexType; see XML source
Complex Type Summary
Content:
complex, 1 attribute, 10 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Content:
complex, 1 attribute, 12 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
The inherited attribute uom references the preferred unit that this conversion applies to.
Content:
complex, 1 attribute, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Content:
empty, 2 attributes
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
Content:
complex, 1 attribute, 10 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Content:
complex, 4 elements
Defined:
globally; see XML source
Includes:
definitions of 4 elements
Used:
Content:
complex, 1 attribute, 9 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Content:
empty, 1 attribute
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<schema elementFormDefault="qualified" targetNamespace="http://www.opengis.net/gml/3.2" version="3.2.1.2" xml:lang="en" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2">
<annotation>
<appinfo source="urn:x-ogc:specification:gml:schema-xsd:units:3.2.1">units.xsd</appinfo>
<documentation>
See ISO/DIS 17.2.
Several GML Schema components concern or require a reference scale or units of measure. Units are required for quantities that may occur as values of properties of feature types, as the results of observations, in the range parameters of a coverage, and for measures used in Coordinate Reference System definitions.
The basic unit definition is an extension of the general gml:Definition element defined in 16.2.1. Three specialized elements for unit definition are further derived from this.
This model is based on the SI system of units [ISO 1000], which distinguishes between Base Units and Derived Units.
- Base Units are the preferred units for a set of orthogonal fundamental quantities which define the particular system of units, which may not be derived by combination of other base units.
- Derived Units are the preferred units for other quantities in the system, which may be defined by algebraic combination of the base units.
In some application areas Conventional units are used, which may be converted to the preferred units using a scaling factor or a formula which defines a re-scaling and offset. The set of preferred units for all physical quantity types in a particular system of units is composed of the union of its base units and derived units.
Unit definitions are substitutable for the gml:Definition element declared as part of the dictionary model. A dictionary that contains only unit definitions and references to unit definitions is a units dictionary.

GML is an OGC Standard.
Copyright (c) 2007,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<include schemaLocation="gml.xsd"/>
<include schemaLocation="dictionary.xsd"/>
<element name="unitOfMeasure" type="gml:UnitOfMeasureType">
<annotation>
<documentation>
The element gml:unitOfMeasure is a property element to refer to a unit of measure. This is an empty element which carries a reference to a unit of measure definition.
</documentation>
</annotation>
</element>
<complexType name="UnitOfMeasureType">
<sequence/>
<attribute name="uom" type="gml:UomIdentifier" use="required"/>
</complexType>
<element name="UnitDefinition" substitutionGroup="gml:Definition" type="gml:UnitDefinitionType">
<annotation>
<documentation>
A gml:UnitDefinition is a general definition of a unit of measure. This generic element is used only for units for which no relationship with other units or units systems is known.
The content model of gml:UnitDefinition adds three additional properties to gml:Definition, gml:quantityType, gml:quantityTypeReference and gml:catalogSymbol.
The gml:catalogSymbol property optionally gives the short symbol used for this unit. This element is usually used when the relationship of this unit to other units or units systems is unknown.
</documentation>
</annotation>
</element>
<complexType name="UnitDefinitionType">
<complexContent>
<extension base="gml:DefinitionType">
<sequence>
<element minOccurs="0" ref="gml:quantityType"/>
<element minOccurs="0" ref="gml:quantityTypeReference"/>
<element minOccurs="0" ref="gml:catalogSymbol"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="quantityType" type="gml:StringOrRefType">
<annotation>
<documentation>
The gml:quantityType property indicates the phenomenon to which the units apply. This element contains an informal description of the phenomenon or type of physical quantity that is measured or observed. When the physical quantity is the result of an observation or measurement, this term is known as observable type or measurand.
The use of gml:quantityType for references to remote values is deprecated.
</documentation>
</annotation>
</element>
<annotation>
<documentation>
The gml:quantityTypeReference property indicates the phenomenon to which the units apply. The content is a reference to a remote value.
</documentation>
</annotation>
</element>
<element name="catalogSymbol" type="gml:CodeType">
<annotation>
<documentation>
The catalogSymbol is the preferred lexical symbol used for this unit of measure.
The codeSpace attribute in gml:CodeType identifies a namespace for the catalog symbol value, and might reference the external catalog. The string value in gml:CodeType contains the value of a symbol that should be unique within this catalog namespace. This symbol often appears explicitly in the catalog, but it could be a combination of symbols using a specified algebra of units.
</documentation>
</annotation>
</element>
<element name="BaseUnit" substitutionGroup="gml:UnitDefinition" type="gml:BaseUnitType">
<annotation>
<documentation>
A base unit is a unit of measure that cannot be derived by combination of other base units within a particular system of units. For example, in the SI system of units, the base units are metre, kilogram, second, Ampere, Kelvin, mole, and candela, for the physical quantity types length, mass, time interval, electric current, thermodynamic temperature, amount of substance and luminous intensity, respectively.
gml:BaseUnit extends generic gml:UnitDefinition with the property gml:unitsSystem, which carries a reference to the units system to which this base unit is asserted to belong.
</documentation>
</annotation>
</element>
<complexType name="BaseUnitType">
<complexContent>
<extension base="gml:UnitDefinitionType">
<sequence>
<element name="unitsSystem" type="gml:ReferenceType"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="DerivedUnit" substitutionGroup="gml:UnitDefinition" type="gml:DerivedUnitType">
<annotation>
<documentation>
Derived units are defined by combination of other units. Derived units are used for quantities other than those corresponding to the base units, such as hertz (s-1) for frequency, Newton (kg.m/s2) for force. Derived units based directly on base units are usually preferred for quantities other than the fundamental quantities within a system. If a derived unit is not the preferred unit, the gml:ConventionalUnit element should be used instead.
The gml:DerivedUnit extends gml:UnitDefinition with the property gml:derivationUnitTerms.
</documentation>
</annotation>
</element>
<complexType name="DerivedUnitType">
<complexContent>
<extension base="gml:UnitDefinitionType">
<sequence>
<element maxOccurs="unbounded" ref="gml:derivationUnitTerm"/>
</sequence>
</extension>
</complexContent>
</complexType>
<annotation>
<documentation>
A set of gml:derivationUnitTerm elements describes a derived unit of measure. Each element carries an integer exponent. The terms are combined by raising each referenced unit to the power of its exponent and forming the product.
This unit term references another unit of measure (uom) and provides an integer exponent applied to that unit in defining the compound unit. The exponent may be positive or negative, but not zero.
</documentation>
</annotation>
</element>
<complexType name="DerivationUnitTermType">
<complexContent>
<extension base="gml:UnitOfMeasureType">
<attribute name="exponent" type="integer"/>
</extension>
</complexContent>
</complexType>
<element name="ConventionalUnit" substitutionGroup="gml:UnitDefinition" type="gml:ConventionalUnitType">
<annotation>
<documentation>
Conventional units that are neither base units nor defined by direct combination of base units are used in many application domains. For example electronVolt for energy, feet and nautical miles for length. In most cases there is a known, usually linear, conversion to a preferred unit which is either a base unit or derived by direct combination of base units.
The gml:ConventionalUnit extends gml:UnitDefinition with a property that describes a conversion to a preferred unit for this physical quantity. When the conversion is exact, the element gml:conversionToPreferredUnit should be used, or when the conversion is not exact the element gml:roughConversionToPreferredUnit is available. Both of these elements have the same content model. The gml:derivationUnitTerm property defined above is included to allow a user to optionally record how this unit may be derived from other ("more primitive") units.
</documentation>
</annotation>
</element>
<complexType name="ConventionalUnitType">
<complexContent>
<extension base="gml:UnitDefinitionType">
<sequence>
<choice> </choice>
<element maxOccurs="unbounded" minOccurs="0" ref="gml:derivationUnitTerm"/>
</sequence>
</extension>
</complexContent>
</complexType>
<annotation>
<documentation>
The elements gml:conversionToPreferredUnit and gml:roughConversionToPreferredUnit represent parameters used to convert conventional units to preferred units for this physical quantity type. A preferred unit is either a Base Unit or a Derived Unit that is selected for all values of one physical quantity type.
</documentation>
</annotation>
</element>
<annotation>
<documentation>
The elements gml:conversionToPreferredUnit and gml:roughConversionToPreferredUnit represent parameters used to convert conventional units to preferred units for this physical quantity type. A preferred unit is either a Base Unit or a Derived Unit that is selected for all values of one physical quantity type.
</documentation>
</annotation>
</element>
<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>
<complexType name="FormulaType">
<sequence>
<element minOccurs="0" name="a" type="double"/>
<element name="b" type="double"/>
<element name="c" type="double"/>
<element minOccurs="0" name="d" type="double"/>
</sequence>
</complexType>
</schema>

This XML schema documentation has been generated with DocFlex/XML 1.11 using DocFlex/XML XSDDoc 2.8.3 template set.
DocFlex/XML is a tool for programming and running highly sophisticated documentation and reports generators by the data obtained from any kind of XML files. The actual doc-generators are implemented in the form of special templates that are designed visually using a high-quality Template Designer GUI basing on the XML schema (or DTD) files describing the data source XML.
DocFlex/XML XSDDoc is a commercial template application of DocFlex/XML that implements a high-quality XML Schema documentation generator with simultaneous support of framed multi-file HTML, single-file HTML and RTF output formats. (More formats are planned in the future).
A commercial license for "DocFlex/XML XSDDoc" will allow you:
  • To configure the generated documentation so much as you want. Thanks to our template technology, it was possible to support > 400 template parameters, which work the same as "options" of ordinary doc-generators. The parameters are organized in nested groups, which form a parameter tree. Most of them have their default values calculated dynamically from a few primary parameters. So, you'll never need to specify all of them. That will give you swift and effective control over the generated content!
  • To use certain features disabled in the free mode (such as the full documenting of substitution groups).
  • To select only the initial, imported, included, redefined XML schemas to be documented or only those directly specified by name.
  • To include only XML schema components specified by name.
  • To document local element components both globally and locally (similar to attributes).
  • To allow/suppress unification of local elements by type.
  • To enable/disable reproducing of namespace prefixes.
  • To use PlainDoc.tpl main template to generate all the XML schema documentation in a signle-file form as both HTML and incredible quality RTF output.
  • To format your annotations with XHTML tags and reproduce that formatting both in HTML and RTF output.
  • To insert images in your annotations using XHTML <img> tags (supported both in HTML and RTF output).
  • To remove this very advertisement text!
Once having only such a license, you will be able to run the fully-featured XML schema documentation generator both with DocFlex/XML (Full Edition) and with DocFlex/XML RE, which is a reduced free edition containing only the template interpretor / output generator. No other licenses will be required!
But this is not all. In addition to it, a commercial license for "DocFlex/XML SDK" will allow you to modify the XSDDoc templates themselves as much as you want. You will be able to achieve whatever was impossible to do with the template parameters only. And, of course, you could develop any template applications by your own!
Please note that by purchasing a license for this software, you not only acquire a useful tool, you will also make an important investment in its future development, the results of which you could enjoy later by yourself. Every single your purchase matters and makes a difference for us!
To purchase a license, please follow this link: http://www.filigris.com/shop/