Skip to main content

resolveValueMetadata()

function resolveValueMetadata(
attributeSources,
userMin?,
userMax?
): ResolvedValueMetadata;

Resolves numeric packing and no-data metadata from an ordered attribute hierarchy.

Later attribute sources override earlier ones, so callers can pass store, group, and array attributes in increasing order of specificity. Fill values apply to raw packed samples; valid ranges apply after scale/offset decoding. User no-data bounds retain the precedence rules of resolveNoDataRange.

Parameters​

ParameterTypeDescription
attributeSources(Record<string, unknown> | undefined)[]Attribute objects ordered from least to most specific.
userMin?numberOptional user-defined minimum valid decoded value.
userMax?numberOptional user-defined maximum valid decoded value.

Returns​

ResolvedValueMetadata