22.9.2.12 ST_PositiveUniversalMeasure

This simple type specifies that its contents will contain a measurement expressed using one of common measure units. The content of this type is a positive decimal number immediately followed by a unit identifier. Unit identifiers are case sensitive and shall be in lowercase. Conforming applications are not required to preserve units of measure between loading and saving a particular document.

The same set of units of measure as in ST_UniversalMeasure type (22.9.2.15) shall be supported.

This simple type’s contents are a restriction of the ST_UniversalMeasure datatype (22.9.2.15).

This simple type also

specifies the following restrictions:

  • This simple type’s contents shall match the following regular expression pattern: [0-9]+(.[0-
  • 9]+)?(mm|cm|in|pt|pc|pi).

[Note: The W3C XML Schema definition of this simple type’s content model (ST_PositiveUniversalMeasure) is located in A.6.9. end note]

Last updated on