Package org.geotools.api.coverage
Class SampleDimensionType
- All Implemented Interfaces:
Serializable
,Comparable<SampleDimensionType>
@UML(identifier="CV_SampleDimensionType",
specification=OGC_01004)
public final class SampleDimensionType
extends CodeList<SampleDimensionType>
Specifies the various dimension types for coverage values. For grid coverages, these correspond to band types.
- Since:
- GeoAPI 1.0
- Author:
- Martin Desruisseaux (IRD)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SampleDimensionType
Simple precision floating point numbers.static final SampleDimensionType
Double precision floating point numbers.static final SampleDimensionType
Signed 16 bits integers.static final SampleDimensionType
Signed 32 bits integers.static final SampleDimensionType
Signed 8 bits integers.static final SampleDimensionType
Unsigned 16 bits integers.static final SampleDimensionType
Unsigned 1 bit integers.static final SampleDimensionType
Unsigned 2 bits integers.static final SampleDimensionType
Unsigned 32 bits integers.static final SampleDimensionType
Unsigned 4 bits integers.static final SampleDimensionType
Unsigned 8 bits integers. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of enumerations of the same kind than this enum.static SampleDimensionType
Returns the sample dimension type that matches the given string, or returns a new one if none match it.static SampleDimensionType[]
values()
Returns the list ofSampleDimensionType
s.
-
Field Details
-
UNSIGNED_1BIT
@UML(identifier="CV_1BIT", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType UNSIGNED_1BITUnsigned 1 bit integers. -
UNSIGNED_2BITS
@UML(identifier="CV_2BIT", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType UNSIGNED_2BITSUnsigned 2 bits integers. -
UNSIGNED_4BITS
@UML(identifier="CV_4BIT", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType UNSIGNED_4BITSUnsigned 4 bits integers. -
UNSIGNED_8BITS
@UML(identifier="CV_8BIT_U", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType UNSIGNED_8BITSUnsigned 8 bits integers.- See Also:
-
SIGNED_8BITS
@UML(identifier="CV_8BIT_S", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType SIGNED_8BITSSigned 8 bits integers.- See Also:
-
UNSIGNED_16BITS
@UML(identifier="CV_16BIT_U", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType UNSIGNED_16BITSUnsigned 16 bits integers.- See Also:
-
SIGNED_16BITS
@UML(identifier="CV_16BIT_S", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType SIGNED_16BITSSigned 16 bits integers.- See Also:
-
UNSIGNED_32BITS
@UML(identifier="CV_32BIT_U", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType UNSIGNED_32BITSUnsigned 32 bits integers.- See Also:
-
SIGNED_32BITS
@UML(identifier="CV_32BIT_S", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType SIGNED_32BITSSigned 32 bits integers.- See Also:
-
REAL_32BITS
@UML(identifier="CV_32BIT_REAL", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType REAL_32BITSSimple precision floating point numbers.- See Also:
-
REAL_64BITS
@UML(identifier="CV_64BIT_REAL", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType REAL_64BITSDouble precision floating point numbers.- See Also:
-
-
Method Details
-
values
Returns the list ofSampleDimensionType
s.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind than this enum.- Specified by:
family
in classCodeList<SampleDimensionType>
- Returns:
- The codes of the same kind than this code.
-
valueOf
Returns the sample dimension type that matches the given string, or returns a new one if none match it.- Parameters:
code
- The name of the code to fetch or to create.- Returns:
- A code matching the given name.
-