Module com.esri.arcgisruntime
Package com.esri.arcgisruntime.geometry
Enum Class CoordinateFormatter.MgrsConversionMode
java.lang.Object
java.lang.Enum<CoordinateFormatter.MgrsConversionMode>
com.esri.arcgisruntime.geometry.CoordinateFormatter.MgrsConversionMode
- All Implemented Interfaces:
Serializable
,Comparable<CoordinateFormatter.MgrsConversionMode>
,Constable
- Enclosing class:
CoordinateFormatter
public static enum CoordinateFormatter.MgrsConversionMode
extends Enum<CoordinateFormatter.MgrsConversionMode>
Determines the lettering scheme and treatment of coordinates at 180 degrees longitude
when converting Military Grid Reference System (MGRS) coordinates.
- Since:
- 100.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe choice of MGRS lettering scheme is based on the datum and ellipsoid of the spatial reference provided.The MGRS notation uses the new lettering scheme (AA scheme) and, when converted, places points with longitude of 180 degrees in zone 01.The MGRS notation uses the new lettering scheme (AA scheme) and, when converted, places points with longitude of 180 degrees in zone 60.The MGRS notation uses the old lettering scheme (AL scheme) and, when converted, places points with longitude of 180 degrees in zone 01.The MGRS notation uses the old lettering scheme (AL scheme) and, when converted, places points with longitude of 180 degrees in zone 60. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTOMATIC
The choice of MGRS lettering scheme is based on the datum and ellipsoid of the spatial reference provided. Spatial references with new datums (e.g. WGS84) assume new lettering scheme (AA scheme). This is equivalent toNEW_180_IN_ZONE_60
. Spatial references with older datums (e.g. Clarke 1866, Bessel 1841, Clarke 1880) assume old lettering scheme (AL scheme). This is equivalent toOLD_180_IN_ZONE_60
. When converted, points with longitude of exactly 180 degrees are placed in in zone 60.- Since:
- 100.1.0
-
NEW_180_IN_ZONE_01
The MGRS notation uses the new lettering scheme (AA scheme) and, when converted, places points with longitude of 180 degrees in zone 01.- Since:
- 100.1.0
-
NEW_180_IN_ZONE_60
The MGRS notation uses the new lettering scheme (AA scheme) and, when converted, places points with longitude of 180 degrees in zone 60.- Since:
- 100.1.0
-
OLD_180_IN_ZONE_01
The MGRS notation uses the old lettering scheme (AL scheme) and, when converted, places points with longitude of 180 degrees in zone 01.- Since:
- 100.1.0
-
OLD_180_IN_ZONE_60
The MGRS notation uses the old lettering scheme (AL scheme) and, when converted, places points with longitude of 180 degrees in zone 60.- Since:
- 100.1.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-