org.deegree.cs.projections
Enum SupportedProjections

java.lang.Object
  extended by java.lang.Enum<SupportedProjections>
      extended by org.deegree.cs.projections.SupportedProjections
All Implemented Interfaces:
Serializable, Comparable<SupportedProjections>

public enum SupportedProjections
extends Enum<SupportedProjections>

The SupportedProjections enumeration defines currently supported projections

Version:
$Revision: 23348 $, $Date: 2010-03-31 12:17:21 +0200 (Wed, 31 Mar 2010) $
Author:
Rutger Bezema, last edited by: $Author: rbezema $

Enum Constant Summary
LAMBERT_AZIMUTHAL_EQUAL_AREA
          The LambertAzimuthalEqualArea projection
LAMBERT_CONFORMAL
          The LambertConformalConic projection
NOT_SUPPORTED
          A not supported projection
STEREOGRAPHIC_AZIMUTHAL
          Snyders StereographicAzimuthal implementation of the stereographic azimuthal projection
STEREOGRAPHIC_AZIMUTHAL_ALTERNATIVE
          EPSG StereographicAlternative implementation of the Stereographic azimuthal projection
TRANSVERSE_MERCATOR
          The TransverseMercator projection
 
Method Summary
static SupportedProjections fromCodes(CRSCodeType[] codes)
           
static SupportedProjections valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SupportedProjections[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TRANSVERSE_MERCATOR

public static final SupportedProjections TRANSVERSE_MERCATOR
The TransverseMercator projection


LAMBERT_CONFORMAL

public static final SupportedProjections LAMBERT_CONFORMAL
The LambertConformalConic projection


LAMBERT_AZIMUTHAL_EQUAL_AREA

public static final SupportedProjections LAMBERT_AZIMUTHAL_EQUAL_AREA
The LambertAzimuthalEqualArea projection


STEREOGRAPHIC_AZIMUTHAL

public static final SupportedProjections STEREOGRAPHIC_AZIMUTHAL
Snyders StereographicAzimuthal implementation of the stereographic azimuthal projection


STEREOGRAPHIC_AZIMUTHAL_ALTERNATIVE

public static final SupportedProjections STEREOGRAPHIC_AZIMUTHAL_ALTERNATIVE
EPSG StereographicAlternative implementation of the Stereographic azimuthal projection


NOT_SUPPORTED

public static final SupportedProjections NOT_SUPPORTED
A not supported projection

Method Detail

values

public static SupportedProjections[] 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 (SupportedProjections c : SupportedProjections.values())
    System.out.println(c);

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

valueOf

public static SupportedProjections 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

fromCodes

public static SupportedProjections fromCodes(CRSCodeType[] codes)
Parameters:
codes - to check for.
Returns:
a mapped projection or NOT_SUPPORTED, never null


Copyright © 2011. All Rights Reserved.