go-types/pkg/database/station.go

18 lines
417 B
Go
Raw Normal View History

2024-06-28 14:33:49 +01:00
package database
// Station Information
type Station struct {
2024-06-28 15:05:31 +01:00
CRS string `json:"3ALPHA"`
TIPLOC string `json:"TIPLOC"`
STANOX string `json:"STANOX"`
NLCDESC string `json:"NLCDESC"`
Location GeoJson `json:"location"`
Operator string `json:"operator"`
2024-06-28 14:33:49 +01:00
}
// GeoJson Coordinates = [long, lat]
type GeoJson struct {
Type string `json:"type"`
Coordinates []float64 `json:"coordinates"`
}