Package com.luciad.grids.mgrs
Enum Class MgrsLevel
- All Implemented Interfaces:
Serializable
,Comparable<MgrsLevel>
,Constable
The available MGRS levels.
- Since:
- 2023.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe grid zone designation level.The 100 kilometer square level.The 100 meter square level.The 10 kilometer square level.The 10 meter square level.The 1 kilometer square level.The 1 meter square level.The top level of a MGRS grid. -
Method Summary
-
Enum Constant Details
-
Zones
The top level of a MGRS grid.It indicates one of the 60 UTM bands.
-
GridZones
The grid zone designation level.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).
-
Squares100Km
The 100 kilometer square level. -
Squares10Km
The 10 kilometer square level. -
Squares1Km
The 1 kilometer square level. -
Squares100M
The 100 meter square level. -
Squares10M
The 10 meter square level. -
Squares1M
The 1 meter square level.
-
-
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
-