What is the UnitOfMeasure class/type? #152
-
Hi there. In the Soil Theme domain model there are various properties of the Where can I find the specifics of this type? Is it bounded in any way (e.g. controlled content)? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
The TG at one of the examples suggests 'cm' as a value for UOM, so I guess it is currently not bound to a code list. I agree that it would make sense. |
Beta Was this translation helpful? Give feedback.
-
In general, it is recommended to use the code values defined in The Unified Code for Units of Measure (UCUM) for units of measure. This is not an official INSPIRE recommendation, though (see also #32). Note that the UCUM actually defines to sets of code values:
From the specification:
Hence, the set of case-sensitive codes is recommended for use. In most examples I've seen, including the one in the TG for the soil theme, the case-sensitive codes are indeed used. UnitOfMeasure from the UML schemas is encoded in GML using the <so:SoilThemeParameterType>
<so:soilThemeParameterName xlink:href="http://link/to/theme/parameter" />
<so:uom uom="cm" />
</so:SoilThemeParameterType> |
Beta Was this translation helpful? Give feedback.
-
Article 12 (page 89) provides the only guidance in this regard:
Since QUDT includes SI units, it is probably the most appropriate option at this moment to cover this gap. The URIs for each unit are most useful. QUDT is also simple to extend. Thank you for the replies. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I miss the link between ucum and qudt, how are they related? Or is qudt an alternative suggestion here Luis? Wouldn’t it be useful to bring these endorsement to some of the tg documents? |
Beta Was this translation helpful? Give feedback.
-
No link between UCUM and QUDT, 2 alternatives for providing UoM
To my memory, QUDT fully emerged after INSPIRE was specified, this we only mention UCUM |
Beta Was this translation helpful? Give feedback.
-
indeed as @kathi said UCMU and QUDT are 2 alternatives for UoM. #32 refers to GML 3.2.2 spec but W3C Spatial Data on the Web Best Practices defines a bit more the context around this : https://www.w3.org/TR/sdw-bp/#c-unitofmeasure I checked INSPIRE D2.9 (https://inspire.ec.europa.eu/id/document/tg/d2.9-o%26m-swe) and we did not recommended one or the other back then. I tend to agree with @ldesousa and would recommend using as much as possible a system that provides URIs be it in a full LinkedData system (with triple store & Co) but also in a simple Shapefile, Geopackage situation. QUDT would be appropriate for this. |
Beta Was this translation helpful? Give feedback.
In general, it is recommended to use the code values defined in The Unified Code for Units of Measure (UCUM) for units of measure. This is not an official INSPIRE recommendation, though (see also #32).
Note that the UCUM actually defines to sets of code values:
From the specification:
Hence, the set of case-sensitive codes is recommended for use. In most examples I've seen, including the one in the TG for the soil theme, the case-sensitive codes are indeed used.
UnitOfMeasure from th…