Package mil.nga.crs.geo
Enum GeoDatums
- java.lang.Object
-
- java.lang.Enum<GeoDatums>
-
- mil.nga.crs.geo.GeoDatums
-
- All Implemented Interfaces:
Serializable
,Comparable<GeoDatums>
public enum GeoDatums extends Enum<GeoDatums>
Common Geo Datums- Since:
- 1.1.0
- Author:
- osbornb
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CARTHAGE
CarthageETRS89
European Terrestrial Reference System 1989 ensembleGGRS87
Greek Geodetic Reference System 1987HERMANNSKOGEL
HermannskogelIRE65
Ireland 1965NAD27
North American Datum 1927NAD83
North American Datum 1983NZGD49
New Zealand Geodetic Datum 1949OSGB36
Ordnance Survey of Great Britain 1936POTSDAM
PotsdamWGS84
WGS 84
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeoDatums
fromName(String name)
Get the geo datums type from the nameString
getCode()
Get the codeEllipsoids
getEllipsoid()
Get the ellipsoidString
getName()
Get the nameList<String>
getNames()
Get the namesdouble[]
getTransform()
Get the transformstatic GeoDatums
valueOf(String name)
Returns the enum constant of this type with the specified name.static GeoDatums[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WGS84
public static final GeoDatums WGS84
WGS 84
-
GGRS87
public static final GeoDatums GGRS87
Greek Geodetic Reference System 1987
-
NAD83
public static final GeoDatums NAD83
North American Datum 1983
-
ETRS89
public static final GeoDatums ETRS89
European Terrestrial Reference System 1989 ensemble
-
NAD27
public static final GeoDatums NAD27
North American Datum 1927
-
POTSDAM
public static final GeoDatums POTSDAM
Potsdam
-
CARTHAGE
public static final GeoDatums CARTHAGE
Carthage
-
HERMANNSKOGEL
public static final GeoDatums HERMANNSKOGEL
Hermannskogel
-
IRE65
public static final GeoDatums IRE65
Ireland 1965
-
NZGD49
public static final GeoDatums NZGD49
New Zealand Geodetic Datum 1949
-
OSGB36
public static final GeoDatums OSGB36
Ordnance Survey of Great Britain 1936
-
-
Method Detail
-
values
public static GeoDatums[] 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 (GeoDatums c : GeoDatums.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeoDatums 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 nameNullPointerException
- if the argument is null
-
getCode
public String getCode()
Get the code- Returns:
- code
-
getName
public String getName()
Get the name- Returns:
- name
-
getTransform
public double[] getTransform()
Get the transform- Returns:
- transform
-
getEllipsoid
public Ellipsoids getEllipsoid()
Get the ellipsoid- Returns:
- ellipsoid
-
-