Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SystemCodeTypes = map[System][]string{ GPS: { "1C", "1S", "1L", "1X", "1P", "1W", "1Y", "1M", "1N", "1R", "2C", "2D", "2S", "2L", "2X", "2P", "2W", "2Y", "2M", "2N", "2R", "5I", "5Q", "5X", }, GLONASS: { "1C", "1P", "4A", "4B", "4X", "2C", "2P", "6A", "6B", "6X", "3I", "3Q", "3X", }, SBAS: { "1C", "5I", "5Q", "5X", }, GALILEO: { "1A", "1B", "1C", "1X", "1Z", "5I", "5Q", "5X", "7I", "7Q", "7X", "8I", "8Q", "8X", "6A", "6B", "6C", "6X", "6Z", }, BEIDOU: { "2I", "2Q", "2X", "1D", "1P", "1X", "1S", "1L", "1Z", "5D", "5P", "5X", "7I", "7Q", "7X", "7D", "7P", "7Z", "8D", "8P", "8X", "6I", "6Q", "6X", "6D", "6P", "6Z", }, QZSS: { "1C", "1E", "1S", "1L", "1X", "1Z", "1B", "2S", "2L", "2X", "5I", "5Q", "5X", "5D", "5P", "5Z", "6S", "6L", "6X", "6E", "6Z", }, IRNSS: { "1D", "1P", "1X", "5A", "5B", "5C", "5X", "9A", "9B", "9C", "9X", }, }
Map of GNSS systems to their valid code types
Functions ¶
This section is empty.
Types ¶
type System ¶
type System int
System stores the GNSS constellation type
Here we enumerate the current constellations
func NewSystemFromChar ¶
func ParseSystem ¶ added in v0.10.0
func (System) MarshalJSON ¶ added in v0.13.0
MarshalJSON implements the json.Marshaler interface for System
func (*System) UnmarshalJSON ¶ added in v0.13.0
UnmarshalJSON implements the json.Unmarshaler interface for System
Click to show internal directories.
Click to hide internal directories.