Package com.esri.arcgisruntime.geometry
Enum CoordinateFormatter.MgrsConversionMode
- java.lang.Object
-
- java.lang.Enum<CoordinateFormatter.MgrsConversionMode>
-
- com.esri.arcgisruntime.geometry.CoordinateFormatter.MgrsConversionMode
-
- All Implemented Interfaces:
Serializable
,Comparable<CoordinateFormatter.MgrsConversionMode>
- 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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATIC
The choice of MGRS lettering scheme is based on the datum and ellipsoid of the spatial reference provided.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.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.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.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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CoordinateFormatter.MgrsConversionMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static CoordinateFormatter.MgrsConversionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTOMATIC
public static final CoordinateFormatter.MgrsConversionMode 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
public static final CoordinateFormatter.MgrsConversionMode 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
public static final CoordinateFormatter.MgrsConversionMode 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
public static final CoordinateFormatter.MgrsConversionMode 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
public static final CoordinateFormatter.MgrsConversionMode 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 Detail
-
values
public static CoordinateFormatter.MgrsConversionMode[] 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 (CoordinateFormatter.MgrsConversionMode c : CoordinateFormatter.MgrsConversionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoordinateFormatter.MgrsConversionMode 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
-
-