Skip to content

Commit

Permalink
Added Plus Codes and OS Grid Reference
Browse files Browse the repository at this point in the history
Added GPS coordinate format options for Google's Open Location Codes and the United Kingdom's Ordnance Survey Grid Reference System.
  • Loading branch information
srichs authored Sep 4, 2021
1 parent d459cd5 commit 109b571
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion radioconfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down

0 comments on commit 109b571

Please sign in to comment.