Added Plus Codes and OS Grid Reference

Added GPS coordinate format options for Google's Open Location Codes and the United Kingdom's Ordnance Survey Grid Reference System.
This commit is contained in:
srichs 2021-09-03 23:15:20 -06:00 committed by GitHub
parent d459cd5af1
commit 109b571377
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,7 +143,17 @@ enum GpsCoordinateFormat {
*/
GpsFormatMGRS = 3;
// GpsFormatOLC = 4; // Plus Codes, maybe one day?
/*
* GPS coordinates are displayed in Open Location Code (aka Plus Codes).
*/
GpsFormatOLC = 4;
/*
* GPS coordinates are displayed in Ordnance Survey Grid Reference (the National Grid System of the UK).
* Format: AB EEEEE NNNNN, where A is the east 100k square, B is the north 100k square, E is the easting,
* N is the northing
*/
GpsFormatOSGR = 5;
}
/*