mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
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:
parent
d459cd5af1
commit
109b571377
1 changed files with 11 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue