Prepare for stations
All checks were successful
Go Test / test (push) Successful in 2m4s

This commit is contained in:
Fred Boniface 2024-06-28 13:59:58 +01:00
parent 2cf567021d
commit 62387194d0
8 changed files with 3 additions and 37 deletions

View File

@ -1,7 +0,0 @@
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 {}

View File

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

View File

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

View File

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

View File

@ -1,11 +0,0 @@
package coordinates
type OsCoordinates struct {
Easting int64
Northing int64
}
type GpsCoordinates struct {
Latitude float64
Longitude float64
}

1
stations/check.go Normal file
View File

@ -0,0 +1 @@
package stations

1
stations/parse.go Normal file
View File

@ -0,0 +1 @@
package stations

1
stations/run.go Normal file
View File

@ -0,0 +1 @@
package stations