netwerk-digitaal-erfgoed/solid-crs

Dimension unit not stored unless changed from the default

Opened this issue · 0 comments

The unit of the dimension is only changed if it is changed from the default (e.g. from mm to cm). If you then change the unit back to mm, the unit is displayed.

So

Screenshot 2022-01-24 at 16 55 58

produces:

<#object-f04c43a1-39d3-4ae2-a209-01679a3bd62f-depth> a <http://schema.org/QuantitativeValue>;
    <http://schema.org/value> 1234.5.

While

Screenshot 2022-01-24 at 16 56 30

produces:

<#object-f04c43a1-39d3-4ae2-a209-01679a3bd62f-depth> a <http://schema.org/QuantitativeValue>;
    <http://schema.org/unitCode> "CMT";
    <http://schema.org/value> 1234.5.

Possibly a side-effect of #548.