Geographic Coordinates (Decimal Degrees, DMS, MGRS)

Detects geographic coordinates as a decimal-degree latitude/longitude pair (e.g. -33.8688, 151.2093), as a degrees-minutes-seconds (DMS) value with a hemisphere letter (e.g. 40° 26' 46" N), or as a Military Grid Reference System (MGRS) reference (e.g. 4QFJ 12345 67890). The slug predates the DMS and MGRS scope, which was absorbed from the former global-gps-coordinates-dms classifier.

Type
regex
Engine
universal
Confidence
medium
Confidence justification
Medium confidence: the decimal and DMS shapes are geographically bounded and the DMS form requires degree/minute/second marks and a hemisphere letter, but bare numbers can still be non-location data and the MGRS shape can collide with part numbers. Enforcing tiers require location context, and MGRS enforcement requires explicit coordinate-system notation.
Detection quality
Verified
Jurisdictions
global
Regulations
GDPR
Frameworks
ISO 27001, ISO 27701
Data categories
location, pii
Scope
wide
Risk rating
4
Platform compatibility
Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, Palo Alto: Unsupported, Netskope: Unsupported

Pattern

(?<![\d.])-?(?:90\.0{4,}|[0-8]?\d\.\d{4,})\s*,\s*-?(?:180\.0{4,}|(?:1[0-7]\d|\d{1,2})\.\d{4,})(?!\d)|\b(?:90\s?[°º]\s?0{1,2}\s?['′]\s?0{1,2}(?:\.0+)?\s?["″]?\s?[NSns]\b|[0-8]?\d\s?[°º]\s?[0-5]?\d\s?['′]\s?[0-5]?\d(?:\.\d+)?\s?["″]?\s?[NSns]\b|180\s?[°º]\s?0{1,2}\s?['′]\s?0{1,2}(?:\.0+)?\s?["″]?\s?[EWew]\b|(?:1[0-7]\d|\d{1,2})\s?[°º]\s?[0-5]?\d\s?['′]\s?[0-5]?\d(?:\.\d+)?\s?["″]?\s?[EWew]\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

GPS, coordinates, latitude, longitude, geolocation, decimal degrees, degrees minutes seconds, grid reference, MGRS, GPS data, GPS coordinates, location data, location tracking, cell tower, triangulation, geo-fence, geofence, location history, data record, database record (+22 more)

Proximity: 300 characters

Should match

Should not match

Known false positives

References