Package org.geotools.api.coverage
Class SampleDimensionType
- Object
-
- CodeList<SampleDimensionType>
-
- 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:
SampleDimension
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static SampleDimensionType
REAL_32BITS
Simple precision floating point numbers.static SampleDimensionType
REAL_64BITS
Double precision floating point numbers.static SampleDimensionType
SIGNED_16BITS
Signed 16 bits integers.static SampleDimensionType
SIGNED_32BITS
Signed 32 bits integers.static SampleDimensionType
SIGNED_8BITS
Signed 8 bits integers.static SampleDimensionType
UNSIGNED_16BITS
Unsigned 16 bits integers.static SampleDimensionType
UNSIGNED_1BIT
Unsigned 1 bit integers.static SampleDimensionType
UNSIGNED_2BITS
Unsigned 2 bits integers.static SampleDimensionType
UNSIGNED_32BITS
Unsigned 32 bits integers.static SampleDimensionType
UNSIGNED_4BITS
Unsigned 4 bits integers.static SampleDimensionType
UNSIGNED_8BITS
Unsigned 8 bits integers.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SampleDimensionType[]
family()
Returns the list of enumerations of the same kind than this enum.static SampleDimensionType
valueOf(String code)
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 Detail
-
UNSIGNED_1BIT
@UML(identifier="CV_1BIT", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType UNSIGNED_1BIT
Unsigned 1 bit integers.
-
UNSIGNED_2BITS
@UML(identifier="CV_2BIT", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType UNSIGNED_2BITS
Unsigned 2 bits integers.
-
UNSIGNED_4BITS
@UML(identifier="CV_4BIT", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType UNSIGNED_4BITS
Unsigned 4 bits integers.
-
UNSIGNED_8BITS
@UML(identifier="CV_8BIT_U", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType UNSIGNED_8BITS
Unsigned 8 bits integers.- See Also:
SIGNED_8BITS
,DataBuffer.TYPE_BYTE
-
SIGNED_8BITS
@UML(identifier="CV_8BIT_S", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType SIGNED_8BITS
Signed 8 bits integers.- See Also:
UNSIGNED_8BITS
-
UNSIGNED_16BITS
@UML(identifier="CV_16BIT_U", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType UNSIGNED_16BITS
Unsigned 16 bits integers.- See Also:
SIGNED_16BITS
,DataBuffer.TYPE_USHORT
-
SIGNED_16BITS
@UML(identifier="CV_16BIT_S", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType SIGNED_16BITS
Signed 16 bits integers.- See Also:
UNSIGNED_16BITS
,DataBuffer.TYPE_SHORT
-
UNSIGNED_32BITS
@UML(identifier="CV_32BIT_U", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType UNSIGNED_32BITS
Unsigned 32 bits integers.- See Also:
SIGNED_32BITS
-
SIGNED_32BITS
@UML(identifier="CV_32BIT_S", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType SIGNED_32BITS
Signed 32 bits integers.- See Also:
UNSIGNED_32BITS
,DataBuffer.TYPE_INT
-
REAL_32BITS
@UML(identifier="CV_32BIT_REAL", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType REAL_32BITS
Simple precision floating point numbers.- See Also:
REAL_64BITS
,DataBuffer.TYPE_FLOAT
-
REAL_64BITS
@UML(identifier="CV_64BIT_REAL", obligation=CONDITIONAL, specification=OGC_01004) public static final SampleDimensionType REAL_64BITS
Double precision floating point numbers.- See Also:
REAL_32BITS
,DataBuffer.TYPE_DOUBLE
-
-
Method Detail
-
values
public static SampleDimensionType[] values()
Returns the list ofSampleDimensionType
s.- Returns:
- The list of codes declared in the current JVM.
-
family
public SampleDimensionType[] 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
public static SampleDimensionType valueOf(String code)
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.
-
-