MgrsConversionMode enum

Determines the lettering scheme and treatment of coordinates at 180 degrees longitude when converting MGRS coordinates.

Inheritance

Constructors

MgrsConversionMode()
const

Values

automatic → const MgrsConversionMode

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. WGS 84) assume new lettering scheme (AA scheme). This is equivalent to MgrsConversionMode.new180InZone60. Spatial references with older datums (e.g. Clarke 1866, Bessel 1841, Clarke 1880) assume old lettering scheme (AL scheme). This is equivalent to MgrsConversionMode.old180InZone60. When converted, points with longitude of exactly 180deg are placed in zone 60.

new180InZone01 → const MgrsConversionMode

The MGRS notation uses the new lettering scheme (AA scheme) and, when converted, places points with longitude of 180deg in zone 01.

new180InZone60 → const MgrsConversionMode

The MGRS notation uses the new lettering scheme (AA scheme) and, when converted, places points with longitude of 180deg in zone 60.

old180InZone01 → const MgrsConversionMode

The MGRS notation uses the old lettering scheme (AL scheme) and, when converted, places points with longitude of 180deg in zone 01.

old180InZone60 → const MgrsConversionMode

The MGRS notation uses the old lettering scheme (AL scheme) and, when converted, places points with longitude of 180deg in zone 60.

Properties

coreValue int
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<MgrsConversionMode>
A constant List of the values in this enum, in order of their declaration.