LuciadCPillar 2024.0.08
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
mgrs

MGRS grids related functionality. More...

Classes

class  luciad::MgrsFormat
 Class to format points as MGRS or UTM/UPS coordinates. More...
 

Enumerations

enum class  luciad::MgrsFormatPrecision {
  luciad::MgrsFormatPrecision::Precision1M , luciad::MgrsFormatPrecision::Precision10M , luciad::MgrsFormatPrecision::Precision100M , luciad::MgrsFormatPrecision::Precision1KM ,
  luciad::MgrsFormatPrecision::Precision10KM , luciad::MgrsFormatPrecision::Precision100KM , luciad::MgrsFormatPrecision::Precision1000KM , luciad::MgrsFormatPrecision::PrecisionGridZone
}
 An enumeration of different levels of precision that can be used to format MGRS or UTM/UPS strings by using luciad::MgrsFormat. More...
 
enum class  luciad::MgrsFormatType { luciad::MgrsFormatType::Mgrs , luciad::MgrsFormatType::UtmUps }
 An enumeration of MGRS format types. More...
 
enum class  luciad::MgrsLevel {
  luciad::MgrsLevel::Zones , luciad::MgrsLevel::GridZones , luciad::MgrsLevel::Squares100Km , luciad::MgrsLevel::Squares10Km ,
  luciad::MgrsLevel::Squares1Km , luciad::MgrsLevel::Squares100M , luciad::MgrsLevel::Squares10M , luciad::MgrsLevel::Squares1M
}
 The available MGRS levels. More...
 
enum class  luciad::MgrsType { luciad::MgrsType::UTM , luciad::MgrsType::UPS }
 The MGRS type, either UTM or UPS. More...
 

Detailed Description

MGRS grids related functionality.

Since
2023.1

Enumeration Type Documentation

◆ MgrsFormatPrecision

enum class luciad::MgrsFormatPrecision
strong

An enumeration of different levels of precision that can be used to format MGRS or UTM/UPS strings by using luciad::MgrsFormat.

luciad/grids/mgrs/MgrsFormat.h

Since
2023.1
Enumerator
Precision1M 

Precision of 1 meter.

For example

  • 31N 0166022 0000001 (UTM_UPS)
Precision10M 

Precision of 10 meters.

For example

  • 31N 016602 000000 (UTM_UPS)
Precision100M 

Precision of 100 meters.

For example

  • 31N 01660 00000 (UTM_UPS)
Precision1KM 

Precision of 1 kilometer.

For example

  • 31N 0166 0000 (UTM_UPS)
Precision10KM 

Precision of 10 kilometers.

For example

  • 31N 016 000 (UTM_UPS)
Precision100KM 

Precision of 100 kilometers.

For example

  • 31N 01 00 (UTM_UPS)
Precision1000KM 

Precision of 1000 kilometers.

For example

  • 31N 0 0 (UTM_UPS)

This precision can be used only to format UTM/UPS strings. See luciad::MgrsFormatType.

PrecisionGridZone 

Only the UTM zone number and the latitude band letter are formatted.

For example

  • 31N (UTM_UPS)

This precision can be used only to format UTM/UPS strings. See luciad::MgrsFormatType.

◆ MgrsFormatType

enum class luciad::MgrsFormatType
strong

An enumeration of MGRS format types.

luciad/grids/mgrs/MgrsFormat.h

Since
2023.1
Enumerator
Mgrs 

MGRS format type.

Examples are

  • 17TPJ 30084 33438 (MGRS UTM)
  • ZBE 81646 04304 (MGRS UPS)
UtmUps 

UTM/UPS format type.

Examples are

  • 17T 0630084 4833438 (UTM)
  • Z 2181646 1704304 (UPS)

◆ MgrsLevel

enum class luciad::MgrsLevel
strong

The available MGRS levels.

luciad/grids/mgrs/MgrsLevel.h

Since
2023.1
Enumerator
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.

◆ MgrsType

enum class luciad::MgrsType
strong

The MGRS type, either UTM or UPS.

luciad/grids/mgrs/MgrsType.h

Since
2023.1
Enumerator
UTM 

Indicates the MGRS type is for UTM, i.e., Universal Transverse Mercator.

UPS 

Indicates the MGRS type is for UPS, i.e., Universal Polar Stereographic.