org.opengis.style
Enum OverlapBehavior

Object
  extended by Enum<OverlapBehavior>
      extended by OverlapBehavior
All Implemented Interfaces:
Serializable, Comparable<OverlapBehavior>

@XmlElement(value="OverlapBehavior")
public enum OverlapBehavior
extends Enum<OverlapBehavior>

The OverlapBehavior element tells a system how to behave when multiple raster images in a layer overlap each other, for example with satellite-image scenes. LATEST_ON_TOP and EARLIEST_ON_TOP refer to the time the scene was captured. AVERAGE means to average multiple scenes together. This can produce blurry results if the source images are not perfectly aligned in their geo-referencing. RANDOM means to select an image (or piece thereof) randomly and place it on top. This can produce crisper results than AVERAGE potentially more efficiently than LATEST_ON_TOP or EARLIEST_ON_TOP. The default behaviour is system-dependent.

Since:
GeoAPI 2.2
Author:
Open Geospatial Consortium, Johann Sorel (Geomatys)

Enum Constant Summary
AVERAGE
           
EARLIEST_ON_TOP
           
LATEST_ON_TOP
           
RANDOM
           
 
Method Summary
static OverlapBehavior valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OverlapBehavior[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LATEST_ON_TOP

public static final OverlapBehavior LATEST_ON_TOP

EARLIEST_ON_TOP

public static final OverlapBehavior EARLIEST_ON_TOP

AVERAGE

public static final OverlapBehavior AVERAGE

RANDOM

public static final OverlapBehavior RANDOM
Method Detail

values

public static OverlapBehavior[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OverlapBehavior c : OverlapBehavior.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OverlapBehavior valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 1996-2014 Geotools. All Rights Reserved.