Geographic Coordinates (DMS / MGRS)

Detects geographic coordinates written in degrees-minutes-seconds (DMS) form with a hemisphere letter (e.g. 40 deg 26' 46" N) and in Military Grid Reference System (MGRS) form (e.g. 4QFJ 12345 67890). The registry already covers decimal-degree coordinates; this adds the DMS and MGRS notations commonly found in mapping exports, surveying records, defence/geospatial documents and EXIF-derived location data.

Type
regex
Engine
universal
Confidence
medium
Confidence justification
Medium confidence: the DMS branch is well constrained by the degree/minute/second marks and a hemisphere letter, but the MGRS branch can collide with other letter-then-digit identifiers. Corroborative location keywords within 300 characters improve precision for bulk scanning.
Jurisdictions
global
Regulations
GDPR
Frameworks
ISO 27001, ISO 27701
Data categories
location, pii
Scope
wide
Platform compatibility
Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, Palo Alto: Unsupported, Netskope: Unsupported

Pattern

\b\d{1,3}\s?[°º]\s?\d{1,2}\s?['′]\s?\d{1,2}(?:\.\d+)?\s?["″]?\s?[NSEWnsew]\b|(?<![A-Za-z0-9])\d{1,2}[C-HJ-NP-Xc-hj-np-x][A-HJ-NP-Za-hj-np-z][A-HJ-NP-Va-hj-np-v]\s?\d{2,5}\s?\d{2,5}(?![A-Za-z0-9])

Corroborative evidence keywords

coordinates, latitude, longitude, GPS, location, geolocation, grid reference, MGRS

Proximity: 300 characters

Should match

Should not match

Known false positives

References