- All Superinterfaces:
RangeDimension
- All Known Subinterfaces:
Band
@UML(identifier="MD_SampleDimension",
specification=ISO_19115)
public interface SampleDimension
extends RangeDimension
The characteristics of each dimension (layer) included in the resource.
Conditional properties:
Following property has default method but shall nevertheless be implemented if the corresponding condition is met:- Units are mandatory if any of the minimum, maximum or mean value properties are provided.
- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptiondefault IntegerMaximum number of significant bits in the uncompressed representation for the value in each band of each pixel.default DoubleMaximum value of data values in each dimension included in the resource.default DoubleMean value of data values in each dimension included in the resource.default DoubleMinimum value of data values in each dimension included in the resource.default DoubleSmallest distance between which separate points can be distinguished, as specified in instrument design.default IntegerNumber of values used in a thematic classification resource.default DoublePhysical value corresponding to a cell value of zero.default RecordInstance of other attribute type that defines attributes not explicitly included inCoverageContentType.default RecordTypeType of other attribute description.default Collection<? extends RangeElementDescription> Provides the description and values of the specific range elements of a sample dimension.default DoubleScale factor which has been applied to the cell value.default DoubleStandard deviation of data values in each dimension included in the resource.default TransferFunctionTypeType of transfer function to be used when scaling a physical value for a given element.default javax.measure.Unit<?> getUnits()Units of data in each dimension included in the resource.Methods inherited from interface org.opengis.metadata.content.RangeDimension
getDescription, getDescriptor, getNames, getSequenceIdentifier
-
Method Details
-
getMinValue
@UML(identifier="minValue", obligation=OPTIONAL, specification=ISO_19115) default Double getMinValue()Minimum value of data values in each dimension included in the resource. May benullif unspecified.- Returns:
- minimum value of data values in each dimension included in the resource, or
nullif none.
-
getMaxValue
@UML(identifier="maxValue", obligation=OPTIONAL, specification=ISO_19115) default Double getMaxValue()Maximum value of data values in each dimension included in the resource. May benullif unspecified.- Returns:
- maximum value of data values in each dimension included in the resource, or
nullif none.
-
getMeanValue
@UML(identifier="meanValue", obligation=OPTIONAL, specification=ISO_19115) default Double getMeanValue()Mean value of data values in each dimension included in the resource. May benullif unspecified.- Returns:
- the mean value of data values in each dimension included in the resource, or
nullif none.
-
getNumberOfValues
@UML(identifier="numberOfValues", obligation=OPTIONAL, specification=ISO_19115) default Integer getNumberOfValues()Number of values used in a thematic classification resource. May benullif unspecified.Example: the number of classes in a Land Cover Type coverage or the number of cells with data in other types of coverages.- Returns:
- the number of values used in a thematic classification resource, or
nullif none.
-
getStandardDeviation
@UML(identifier="standardDeviation", obligation=OPTIONAL, specification=ISO_19115) default Double getStandardDeviation()Standard deviation of data values in each dimension included in the resource. May benullif unspecified.- Returns:
- standard deviation of data values in each dimension included in the resource, or
nullif none.
-
getUnits
@UML(identifier="units", obligation=CONDITIONAL, specification=ISO_19115) default javax.measure.Unit<?> getUnits()Units of data in each dimension included in the resource. May benullif unspecified.- Returns:
- units of data in each dimension included in the resource, or
nullif none. - Condition:
- Mandatory if minimum, maximum or mean value are provided.
-
getScaleFactor
@UML(identifier="scaleFactor", obligation=OPTIONAL, specification=ISO_19115) default Double getScaleFactor()Scale factor which has been applied to the cell value. May benullif unspecified.- Returns:
- scale factor which has been applied to the cell value, or
nullif none.
-
getOffset
Physical value corresponding to a cell value of zero. May benullif unspecified.- Returns:
- physical value corresponding to a cell value of zero, or
nullif none.
-
getTransferFunctionType
@UML(identifier="transferFunctionType", obligation=OPTIONAL, specification=ISO_19115_2) default TransferFunctionType getTransferFunctionType()Type of transfer function to be used when scaling a physical value for a given element.- Returns:
- type of transfer function.
Departure from OGC/ISO standard for harmonization between different specifications
ISO 19115-2 defines this property in theMI_Bandtype (aMD_Bandsubtype) for historical reasons. GeoAPI moves this property up in the hierarchy to a more natural place when not constrained by historical reasons, which is together with the offset and scale factor. -
getBitsPerValue
@UML(identifier="bitsPerValue", obligation=OPTIONAL, specification=ISO_19115) default Integer getBitsPerValue()Maximum number of significant bits in the uncompressed representation for the value in each band of each pixel. May benullif unspecified.- Returns:
- maximum number of significant bits in the uncompressed representation
for the value in each band of each pixel, or
nullif none.
-
getRangeElementDescriptions
@UML(identifier="rangeElementDescription", obligation=OPTIONAL, specification=ISO_19115, version=2018) default Collection<? extends RangeElementDescription> getRangeElementDescriptions()Provides the description and values of the specific range elements of a sample dimension. Example: missing data.- Returns:
- description and values of the specific range elements.
-
getNominalSpatialResolution
@UML(identifier="nominalSpatialResolution", obligation=OPTIONAL, specification=ISO_19115_2) default Double getNominalSpatialResolution()Smallest distance between which separate points can be distinguished, as specified in instrument design.Upcoming API change — units of measurement
The return type of this method may change in GeoAPI 4.0. It may be replaced by theLengthtype in order to provide unit of measurement together with the value.- Returns:
- smallest distance between which separate points can be distinguished.
- Unit:
- Distance
Departure from OGC/ISO standard for harmonization between different specifications
ISO 19115-2 defines this property in theMI_Bandtype (aMD_Bandsubtype) for historical reasons. GeoAPI moves this property up in the hierarchy since this property can apply to any sample dimension, not only the measurements in the electromagnetic spectrum. -
getOtherPropertyType
@UML(identifier="otherPropertyType", obligation=OPTIONAL, specification=ISO_19115) default RecordType getOtherPropertyType()Type of other attribute description. May benullif unspecified.- Returns:
- type of other attribute description, or
nullif none.
-
getOtherProperty
@UML(identifier="otherProperty", obligation=OPTIONAL, specification=ISO_19115) default Record getOtherProperty()Instance of other attribute type that defines attributes not explicitly included inCoverageContentType. May benullif unspecified.- Returns:
- instance of other/attributeType that defines attributes, or
nullif none.
-