public enum MgrsLevel extends Enum<MgrsLevel>
Enum Constant and Description |
---|
GridZones
The grid zone designation level.
|
Squares100Km
The 100 kilometer square level.
|
Squares100M
The 100 meter square level.
|
Squares10Km
The 10 kilometer square level.
|
Squares10M
The 10 meter square level.
|
Squares1Km
The 1 kilometer square level.
|
Squares1M
The 1 meter square level.
|
Zones
The top level of a MGRS grid.
|
Modifier and Type | Method and Description |
---|---|
static MgrsLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MgrsLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MgrsLevel Zones
It indicates one of the 60 UTM bands.
public static final MgrsLevel GridZones
It is indicated with a number and a letter for UTM zones (e.g. "31U") or just a letter for UPS zones (A and B for the south pole, X and Y for the north pole).
public static final MgrsLevel Squares100Km
public static final MgrsLevel Squares10Km
public static final MgrsLevel Squares1Km
public static final MgrsLevel Squares100M
public static final MgrsLevel Squares10M
public static final MgrsLevel Squares1M
public static MgrsLevel[] values()
for (MgrsLevel c : MgrsLevel.values()) System.out.println(c);
public static MgrsLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null