timetable-extension #1
|
@ -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 {}
|
|
@ -0,0 +1,3 @@
|
|||
package bplan
|
||||
|
||||
// Fetch BPLAN data - nothing more, nothing less
|
|
@ -0,0 +1,13 @@
|
|||
package bplan
|
||||
|
||||
type TiplocLatLong struct {
|
||||
Tiploc string
|
||||
Latitude float64
|
||||
Longitude float64
|
||||
}
|
||||
|
||||
type TiplocOS struct {
|
||||
Tiploc string
|
||||
Easting int64
|
||||
Northing int64
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
package coordinates
|
||||
|
||||
// Converts, fairly roughly between OS and GPS coordinates
|
Loading…
Reference in New Issue