timetable-extension #1

Open
fred.boniface wants to merge 154 commits from timetable-extension into main
4 changed files with 26 additions and 0 deletions
Showing only changes of commit e8e7a76076 - Show all commits

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