pull/182/head
Christopher Young 2015-12-13 18:23:57 -05:00
rodzic 6c20883e4e
commit 69281675b7
1 zmienionych plików z 30 dodań i 0 usunięć

Wyświetl plik

@ -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
}