public enum GriddedCoverageEncodingType extends Enum<GriddedCoverageEncodingType>
| Enum Constant and Description |
|---|
AREA
Assume the entire grid cell has the same value
|
CENTER
Assume the value is center of grid cell (default)
|
CORNER
A typical use case is for a mesh of elevation values as specified in the
OGC CDB standard Clause 5.6.1 (lower left corner)
|
| Modifier and Type | Method and Description |
|---|---|
static GriddedCoverageEncodingType |
fromName(String name)
Get the grid cell encoding from the name
|
String |
getName()
Get the name
|
static GriddedCoverageEncodingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GriddedCoverageEncodingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GriddedCoverageEncodingType CENTER
public static final GriddedCoverageEncodingType AREA
public static final GriddedCoverageEncodingType CORNER
public static GriddedCoverageEncodingType[] values()
for (GriddedCoverageEncodingType c : GriddedCoverageEncodingType.values()) System.out.println(c);
public static GriddedCoverageEncodingType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
public static GriddedCoverageEncodingType fromName(String name)
name - nameCopyright © 2019 National Geospatial-Intelligence Agency. All rights reserved.