Schema Central > NIEM 2.1 > units.xsd > gml:ConventionalUnit
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

gml:ConventionalUnit

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.

Element information

Type: gml:ConventionalUnitType

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
gml:id [1..1]xsd:IDfrom type gml:DefinitionBaseType

Used in

Substitution hierarchy

Sample instance

<gml:ConventionalUnit gml:id="ID">
   <gml:metaDataProperty>
      <gml:GenericMetaData>Any text, intermingled with:
         <!--any element-->
      </gml:GenericMetaData>
   </gml:metaDataProperty>
   <gml:description>string</gml:description>
   <gml:descriptionReference/>
   <gml:identifier codeSpace="http://www.example.com/">string</gml:identifier>
   <gml:name>string</gml:name>
   <gml:remarks>string</gml:remarks>
   <gml:quantityType>string</gml:quantityType>
   <gml:quantityTypeReference/>
   <gml:catalogSymbol>string</gml:catalogSymbol>
   <gml:conversionToPreferredUnit uom="">
      <gml:factor>1.0</gml:factor>
   </gml:conversionToPreferredUnit>
   <gml:derivationUnitTerm uom=""/>
</gml:ConventionalUnit>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to contrib@functx.com