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
  • Enum Constant Details

    • 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 to NEW_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 to OLD_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 Details

    • values

      public static CoordinateFormatter.MgrsConversionMode[] 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

      public static CoordinateFormatter.MgrsConversionMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null