org.opengis.coverage
Class CommonPointRule

Show UML class diagram
Object
  extended by CodeList<CommonPointRule>
      extended by CommonPointRule
All Implemented Interfaces:
Serializable, Comparable<CommonPointRule>

@UML(identifier="CV_CommonPointRule",
     specification=ISO_19123)
public class CommonPointRule
extends CodeList<CommonPointRule>

List of codes that identify methods for handling cases where the direct position input to the evaluate operation falls within two or more of the geometric objects. The interpretation of these rules differs between discrete and continuous coverages. In the case of a discrete coverage, each geometry-value pair provides one value for each attribute. The rule is applied to the set of values associated with the set of geometry-value pairs that contain the direct position. In the case of a continuous coverage, a value for each attribute shall be interpolated for each ValueObject that contains the direct position. The rule shall then be applied to the set of interpolated values for each attribute.

Since:
GeoAPI 2.1
Version:
ISO 19123:2004
See Also:
Coverage.getCommonPointRule(), Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class CodeList
CodeList.Filter
 
Field Summary
static CommonPointRule ALL
          All the feature attribute values that can be determined for the input direct position.
static CommonPointRule AVERAGE
          The mean of the feature attribute values.
static CommonPointRule END
          The end value of the first value segment.
static CommonPointRule HIGH
          The greatest of the feature attribute values.
static CommonPointRule LOW
          The least of the feature attribute values.
static CommonPointRule START
          The start value of the second value segment.
 
Method Summary
 CommonPointRule[] family()
          Returns the list of enumerations of the same kind than this enum.
static CommonPointRule valueOf(String code)
          Returns the common point rule that matches the given string, or returns a new one if none match it.
static CommonPointRule[] values()
          Returns the list of CommonPointRules.
 
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

AVERAGE

@UML(identifier="average",
     obligation=CONDITIONAL,
     specification=ISO_19123)
public static final CommonPointRule AVERAGE
The mean of the feature attribute values.


LOW

@UML(identifier="low",
     obligation=CONDITIONAL,
     specification=ISO_19123)
public static final CommonPointRule LOW
The least of the feature attribute values.


HIGH

@UML(identifier="high",
     obligation=CONDITIONAL,
     specification=ISO_19123)
public static final CommonPointRule HIGH
The greatest of the feature attribute values.


ALL

@UML(identifier="all",
     obligation=CONDITIONAL,
     specification=ISO_19123)
public static final CommonPointRule ALL
All the feature attribute values that can be determined for the input direct position.


START

@UML(identifier="start",
     obligation=CONDITIONAL,
     specification=ISO_19123)
public static final CommonPointRule START
The start value of the second value segment. Applies only to segmented curve coverages.


END

@UML(identifier="end",
     obligation=CONDITIONAL,
     specification=ISO_19123)
public static final CommonPointRule END
The end value of the first value segment. Applies only to segmented curve coverages.

Method Detail

values

public static CommonPointRule[] values()
Returns the list of CommonPointRules.

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

family

public CommonPointRule[] family()
Returns the list of enumerations of the same kind than this enum.

Specified by:
family in class CodeList<CommonPointRule>
Returns:
All common point rules defined.

valueOf

public static CommonPointRule valueOf(String code)
Returns the common point rule 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.


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