-
Notifications
You must be signed in to change notification settings - Fork 4
/
airlinecodes.js
103 lines (103 loc) · 3.08 KB
/
airlinecodes.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
// From https://en.wikipedia.org/wiki/List_of_airline_codes. I've just added common
// ones for my area because there are a lot of duplicates across different countries
// If running UMID1090 for yourself you may want to change them for what you see
// in your area.
var AIRLINE_CODES = new Map([
["RYR", "Ryanair"],
["BAW", "British Airways"],
["SHT", "British Airways"],
["EZY", "EasyJet"],
["EXS", "Jet2"],
["KLM", "KLM"],
["TFL", "TUI"],
["TOM", "TUI"],
["AFR", "Air France"],
["VIR", "Virgin Atlantic"],
["AAL", "American Airlines"],
["UAL", "United Airlines"],
["DAL", "Delta Airlines"],
["NPT", "Atlantic Airlines"],
["TAM", "LATAM Brasil"],
["WGN", "Western Global"],
["SWN", "West Air Sweden"],
["THY", "Turkish Airlines"],
["QTR", "Qatar Airways"],
["IBE", "Iberia"],
["VLG", "Vueling Airlines"],
["EIN", "Aer Lingus"],
["WUK", "Wizz Air"],
["TAP", "TAP Air Portugal"],
["FDX", "FedEx"],
["UPS", "UPS"],
["LH", "Lufthansa"],
["DLH", "Lufthansa"],
["GEC", "Lufthansa Cargo"],
["CKS", "Kalitta Air"],
["ETP", "Empire Test Pilots"],
["CLF", "Bristol Flying Centre"],
["MLT", "Maleth Aero"],
["AMBER", "Cobham"],
["UKP", "Police"],
["HLE", "Air Ambulance"],
["CG", "Coastguard"],
["RRR", "Royal Air Force"],
["ASCOT", "Royal Air Force"],
["COMET", "Royal Air Force"],
["ZORRO", "Royal Air Force"],
["SNAKE", "Royal Air Force"],
["SRPNT", "Royal Air Force"],
["TYPHOO", "Royal Air Force"],
["NOH", "RAF Northolt 32 Sqdn"],
["AAC", "Army Air Corps"],
["SHF", "Joint Helicopter Command"],
["SPEAR", "UK Armed Forces"],
["VGBND", "UK Armed Forces"],
["RECON", "UK Armed Forces"],
["CMNDO", "UK Armed Forces"],
["VALNT", "UK Armed Forces"],
["VALINT", "UK Armed Forces"],
["RADCL", "UK Armed Forces"],
["PNTHR", "UK Armed Forces"],
["TALON", "UK Armed Forces"],
["CARBON", "UK Armed Forces"],
["VICTR", "Royal Navy"],
["VENDETA", "Army Air Corps"],
["MARINE", "Royal Marines"],
["BWY", "736 Naval Air Sqdn"],
["RCH", "U.S. Air Mobility Command"]
]);
// Symbol overrides for certain airline codes, principally military. Again you
// may want to change them for the codes used in your area/country.
var AIRLINE_CODE_SYMBOLS = new Map([
["UKP", "SUAPMH------"],
["HLE", "SUAPMHO-----"],
["CG", "SFAPMHH-----"],
["RRR", "SFAPMFC-----"],
["ASCOT", "SFAPMFC-----"],
["COMET", "SFAPMFC-----"],
["ZORRO", "SFAPMFC-----"],
["SNAKE", "SFAPMF-------"],
["SRPNT", "SFAPMF-------"],
["TYPHOO", "SFAPMFF-----"],
["NOH", "SFAPM-------"],
["AAC", "SFAPM-------"],
["SHF", "SFAPMHUH----"],
["SPEAR", "SFAPMH------"],
["VGBND", "SFAPMH------"],
["RECON", "SFAPMH------"],
["CMNDO", "SFAPMH------"],
["DOLPHN", "SFAPMH------"],
["DOLPN", "SFAPMH------"],
["VALNT", "SFAPMH------"],
["VALINT", "SFAPMH------"],
["RADCL", "SFAPMH------"],
["PNTHR", "SFAPM-------"],
["TALON", "SFAPMH------"],
["CARBON", "SFAPMH------"],
["VICTR", "SFAPMH------"],
["VENDETA", "SFAPMH------"],
["MARINE", "SFAPMH------"],
["CASTLE", "SFAPMH------"],
["BWY", "SFAPMF------"],
["RCH", "SFAPMFC-----"]
]);