Military Grid Reference System (MGRS) coordinate
ID mgrs
DatatypeNot PIIDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Position written in the Military Grid Reference System of NATO, which is based on UTM. It is a grid zone designator (a UTM zone number from 1 to 60 and a latitude band letter from C to X without I and O), a two-letter identifier of a 100 km square, and an even number of digits, up to ten, that give the easting and then the northing within the square: four digits locate a 1 km square, ten digits a 1 m square. Spaces between the parts are optional. The regexp does not cover the polar regions, which use the UPS form with bands A, B, Y and Z.
- Categories
- Geographic identifiers
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- AutoType benchmark
mgrs- Quality
- 100/100
- Metacrafter rules
- no detection rule yet
- Supported by tools
- Auto-Type
Regular expression
^(?:[1-9]|[1-5][0-9]|60)[C-HJ-NP-X] ?[A-HJ-NP-Z][A-HJ-NP-V](?: ?(?:\d ?\d|\d{2} ?\d{2}|\d{3} ?\d{3}|\d{4} ?\d{4}|\d{5} ?\d{5}))?$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 4Q FJ 1234 6789 | 10 m precision, example from the Wikipedia article |
| 4QFJ12346789 | The same position without spaces |
| 4QFJ | 100 km square only |
| 4Q FJ 123 6789 invalid | Easting and northing of different lengths |
| 61Q FJ 1234 6789 invalid | There are only 60 zones |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Координата MGRS | Положение в военной системе координатной сетки НАТО (MGRS): зона UTM, квадрат 100 км и чётное число цифр восточного и северного смещения. |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Military_Grid_Reference_System
- other: https://github.com/congy/AutoType/blob/master/data_release/mgrs.txt
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/mgrs - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/geo/mgrs.yamlon GitHub