Class UnitOfMeasure
Unit of measure for a simple attribute whose value type is numeric,
parsed from the Feature Catalogue's <S100FC:uom> element
(S-100 Part 5 / ISO 19103). For example, depth-valued S-101 attributes
such as depthRangeMinimumValue carry a uom of
Name = "metre", Symbol = "m".
public sealed record UnitOfMeasure : IEquatable<UnitOfMeasure>
- Inheritance
-
UnitOfMeasure
- Implements
- Inherited Members
Constructors
UnitOfMeasure(string, string?)
Unit of measure for a simple attribute whose value type is numeric,
parsed from the Feature Catalogue's <S100FC:uom> element
(S-100 Part 5 / ISO 19103). For example, depth-valued S-101 attributes
such as depthRangeMinimumValue carry a uom of
Name = "metre", Symbol = "m".
public UnitOfMeasure(string Name, string? Symbol)
Parameters
NamestringThe unit name (e.g.
"metre").SymbolstringThe unit symbol (e.g.
"m"), ornullwhen the catalogue omits it.
Properties
Name
The unit name (e.g. "metre").
public string Name { get; init; }
Property Value
Symbol
The unit symbol (e.g. "m"), or null when the catalogue omits it.
public string? Symbol { get; init; }