kopia lustrzana https://github.com/cyoung/stratux
rodzic
69281675b7
commit
a71c49951a
|
@ -1,30 +0,0 @@
|
||||||
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