-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgetAirports.py
52 lines (48 loc) · 2.89 KB
/
getAirports.py
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
# -*- coding: utf-8 -*-
from __future__ import print_function
all_airports = []
def get_all_airports():
all_airports = [
('Tallhassee International Airport', 'TIA', 30.395412, -84.3472458),
('Boston Logan International Airport', 'BOS', 42.3656132, -71.0117489),
('Hartsfield Jackson Atlanta International', 'ATL', 33.6407326, -84.4298888),
('Chicago O’Hare International', 'ORD', 41.9741665,-87.9095101),
('Los Angeles International', 'LAX', 33.9415933,-118.4107187),
('Dallas Fort Worth International', 'DFW', 32.8998136,-97.0425239),
('Denver International', 'DEN', 39.8561004,-104.6759263),
('John F Kennedy International', 'JFK', 40.6413151,-73.7803278),
('San Francisco International', 'SFO', 37.6213171,-122.3811441),
('Charlotte Douglas International', 'CLT', 35.214407,-80.9495033),
('McCarran International','LAS', 36.0840041,-115.1559276),
('Phoenix Sky Harbor International', 'PHX', 33.4372731,-112.0099768),
('George Bush Intercontinental Houston','IAH', 29.9902245,-95.3389714),
('Miami International', 'MIA', 25.7958698,-80.2892344),
('Orlando International', 'MCO', 28.4311624,-81.3102717),
('Newark Liberty International', 'EWR', 40.7043956,-74.1928966),
('Seattle Tacoma International', 'SEA', 47.4502535,-122.3110052),
('Minneapolis-St Paul International/Wold-Chamberlain', 'MSP', 44.8847592,-93.2244733),
('Detroit Metropolitan Wayne County', 'DTW', 42.2161762,-83.3575729),
('Philadelphia International', 'PHL', 39.8744,-75.2446116),
('General Edward Lawrence Logan International', 'BOS', 42.3656171,-71.0117489),
('La Guardia', 'LGA', 40.7769392,-73.8761546),
('Fort Lauderdale Hollywood International', 'FLL', 26.0742392,-80.1527909),
('Baltimore/Washington International Thurgood Marshall', 'BWI', 39.1774083,-76.6705809),
('Washington Dulles International', 'IAD', 38.9527269,-77.4499782),
('Salt Lake City International', 'SLC', 40.7899444,-111.9812593),
('Ronald Reagan Washington National', 'DCA', 38.8512462,-77.0424202),
('Chicago Midway International', 'MDW', 41.7867799,-87.7543771),
('Honolulu International', 'HNL',21.3245182,-157.9272623),
('San Diego International', 'SAN', 32.7338051,-117.1954925),
('Tampa International', 'TPA', 27.9810554,-82.5367728),
('Cleveland Hopkins International', 'CLE', 41.4124379,-81.8501812),
('Portland International', 'PDX', 45.5897731,-122.5972829),
('Lambert St Louis International', 'STL', 38.7518304,-90.3729891),
('William P Hobby', 'HOU', 29.6536295,-95.2788661),
('Metropolitan Oakland International', 'OAK', 37.7125731,-122.2219315),
('Kansas City International', 'MCI', 39.3006468,-94.7147824),
('Nashville International', 'BNA', 36.1263213,-86.67956),
('Austin Bergstrom International', 'AUS', 30.1974338,-97.6684945),
('Raleigh Durham International', 'RDU', 35.8800833,-78.790185),
('Sacramento International', 'SMF', 38.6950896,-121.5922535),
('John Wayne-Orange County', 'SNA', 33.6761945,-117.8696646)]
return all_airports