kopia lustrzana https://github.com/cyoung/stratux
Beginning.
rodzic
34eec10b5a
commit
1fc4e70152
|
@ -0,0 +1,30 @@
|
|||
package uatparse
|
||||
|
||||
// AIRMET = AIRMET/SIGMET/ (TFR?)
|
||||
|
||||
const (
|
||||
UATMSG_TEXT = 1
|
||||
UATMSG_NEXRAD = 2
|
||||
UATMSG_AIRMET = 3 // AIRMET. Decoded.
|
||||
|
||||
// How the coordinates should be used in a graphical AIRMET.
|
||||
AIRMET_POLYGON = 1
|
||||
AIRMET_ELLIPSE = 2
|
||||
AIRMET_PRISM = 3
|
||||
AIRMET_3D = 4
|
||||
)
|
||||
|
||||
// Points can be in 3D - take care that altitude is used correctly.
|
||||
type GeoPoints struct {
|
||||
Lat float64
|
||||
Lon float64
|
||||
Alt int32
|
||||
}
|
||||
|
||||
type UATAirmet struct {
|
||||
Points []GeoPoints // Points
|
||||
}
|
||||
|
||||
type UATMsgDecoded struct {
|
||||
Type int
|
||||
}
|
Ładowanie…
Reference in New Issue