fromString

Create a MGRS coordinate from a standard MGRS coordinate text string.

The string will be converted to uppercase and stripped of all spaces before being evaluated.

Valid examples:
32TLP5626635418
32 T LP 56266 35418
11S KU 528 111

Return

the corresponding MGRSCoord.

Parameters

MGRSString

the MGRS coordinate text string.

Throws

if the MGRSString is empty or the conversion to geodetic coordinates fails.