org.opengis.coverage
Class SampleDimensionType

Show UML class diagram
Object
  extended by CodeList<SampleDimensionType>
      extended by 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.

 

WARNING: THIS CLASS WILL CHANGE. Current API is derived from OGC Grid Coverages Implementation specification 1.0. We plan to replace it by new interfaces derived from ISO 19123 (Schema for coverage geometry and functions). Current interfaces should be considered as legacy and are included in this distribution only because they were part of GeoAPI 1.0 release. We will try to preserve as much compatibility as possible, but no migration plan has been determined yet.

Since:
GeoAPI 1.0
See Also:
SampleDimension, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class CodeList
CodeList.Filter
 
Field Summary
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
 SampleDimensionType[] family()
          Returns the list of codes of the same kind than this code list element.
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 of SampleDimensionTypes.
 
Methods inherited from class CodeList
compareTo, equals, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOf
 
Methods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 of SampleDimensionTypes.

Returns:
The list of codes declared in the current JVM.

family

public SampleDimensionType[] family()
Returns the list of codes of the same kind than this code list element. Invoking this method is equivalent to invoking values(), except that this method can be invoked on an instance of the parent CodeList class.

Specified by:
family in class CodeList<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. More specifically, this methods returns the first instance for which name().equals(code) returns true. If no existing instance is found, then a new one is created for the given name.

Parameters:
code - The name of the code to fetch or to create.
Returns:
A code matching the given name.


Copyright © 1994-2013 Open Geospatial Consortium. All Rights Reserved.