NAME
Catmandu::Fix::lido_objectmeasurements - Create a objectMeasurements
node
SYNOPSIS
lido_objectmeasurements(
extent,
type,
unit,
value
)
DESCRIPTION
Create a objectMeasurements
node, consisting of measurementType
, measurementUnit
, measurementValue
and extentMeasurements
.
Parameters
Required parameters
All parameters are required.
value
, type
and unit
are path parameters, all other parameters are strings.
value
type
unit
extent
EXAMPLE
Fix
lido_objectmeasurements(
'hoogte',
recordList.record.height.type,
recordList.record.height.unit,
recordList.record.height
)
Result
<lido:descriptiveMetadata>
<lido:objectIdentificationWrap>
<lido:objectMeasurementsWrap>
<lido:objectMeasurementsSet>
<lido:objectMeasurements>
<lido:measurementsSet>
<lido:measurementType>hoogte</lido:measurementType>
<lido:measurementUnit>cm</lido:measurementUnit>
<lido:measurementValue>15</lido:measurementValue>
</lido:measurementsSet>
<lido:extentMeasurements>hoogte</lido:extentMeasurements>
</lido:objectMeasurements>
</lido:objectMeasurementsSet>
</lido:objectMeasurementsWrap>
</lido:objectIdentificationWrap>
</lido:descriptiveMetadata>