Prep work for addition of location data for TIPLOCS
Go Test / test (push) Has been cancelled Details

This commit is contained in:
Fred Boniface 2024-06-26 13:07:44 +01:00
parent 90e8fd5649
commit e8e7a76076
4 changed files with 26 additions and 0 deletions

7
bplan/bplan.go Normal file
View File

@ -0,0 +1,7 @@
package bplan
// Returns: a slice of objects containing a TIPLOC, Latitude and Longitude
func GetTiplocLocations() []TiplocLatLong {}
// Returns: a slice of objects containing a TIPLOC, Easting and Northing
func GetTiplocLocationsOS() []TiplocOS {}

3
bplan/fetch.go Normal file
View File

@ -0,0 +1,3 @@
package bplan
// Fetch BPLAN data - nothing more, nothing less

13
bplan/types.go Normal file
View File

@ -0,0 +1,13 @@
package bplan
type TiplocLatLong struct {
Tiploc string
Latitude float64
Longitude float64
}
type TiplocOS struct {
Tiploc string
Easting int64
Northing int64
}

View File

@ -0,0 +1,3 @@
package coordinates
// Converts, fairly roughly between OS and GPS coordinates