Permalink
Browse files

added WebDataSource for applet, all that's missing is the actual web …

…service
  • Loading branch information...
1 parent 5938ed4 commit 460d68828195805565c8aa1482115d12f2f013ab @camillol committed Nov 1, 2011
Showing with 28,329 additions and 29 deletions.
  1. +1 −1 GraphView.pde
  2. +20 −22 Sighting.pde
  3. +187 −0 WebDataSource.pde
  4. +7 −6 cs424p3.pde
  5. +528 −0 data/airports.tsv
  6. +10,812 −0 data/cities.tsv
  7. +13,676 −0 data/city_dist.tsv
  8. +414 −0 data/military_bases.tsv
  9. +7 −0 data/sighting_types.tsv
  10. +50 −0 data/states.tsv
  11. +2,608 −0 data/weather_stations.tsv
  12. +19 −0 maketsv.sh
View
2 GraphView.pde
@@ -107,7 +107,7 @@ class GraphView extends View {
rect (0,h+5,w,110);
fill(textColor);
- float[] activeModeLegend = data.getLegendLabels(activeMode);
+ float[] activeModeLegend = getLegendLabels(activeMode);
if (activeModeLegend != null){
if (!activeMode.equals("County Population dens."))
text("Measurement unit = Km", w/2,h+20);
View
42 Sighting.pde
@@ -113,6 +113,11 @@ class City extends Place {
this.state_id = state_id;
this.county_id = county_id;
}
+
+ String toString()
+ {
+ return "City("+name+")";
+ }
}
class State extends Place {
@@ -300,7 +305,6 @@ interface DataSource {
List<Bucket> sightingCountsByMilitaryBaseDistance();
List<Bucket> sightingCountsByPopulationDensity();
List<SightingLite> sightingsByTime(int chunkSize, int chunkNum);
- float[] getLegendLabels(String activeMode);
Date getLastSightingDate();
}
@@ -326,6 +330,20 @@ class Bucket {
- income??
*/
+float[] airportsDistanceBreaks = {7.794978,12.22485,16.34988,21.02355,26.27319,32.03328,38.54012,45.20428,54.43778,64.34605,76.22255,91.7209,113.2127,152.5769};
+float[] weatherStDistanceBreaks = {3.417465,5.244248,6.937217,8.564252,10.51355,12.41377,14.63627,16.98696,19.75864,23.02078,26.70035,31.42313,38.6634,50.20286};
+float[] militaryBaseDistanceBreaks = {12.07392,20.41422,27.86664,36.02675,44.57247,54.70817,67.01115,80.2194,95.13276,111.2619,133.6569,158.7418,192.5056,247.0147};
+float[] populationDensityBreaks = {470,1290,2150,3073.333,4136.667,5350,7173.333,10183.33,14460,25483,54829};
+
+float[] getLegendLabels(String activeMode){
+ if (activeMode.equals("Airport distance")) return airportsDistanceBreaks;
+ else if (activeMode.equals("Military Base distance")) return militaryBaseDistanceBreaks;
+ else if (activeMode.equals("Weather Station dist.")) return weatherStDistanceBreaks;
+ else if (activeMode.equals("County Population dens.")) return populationDensityBreaks;
+
+ return null;
+}
+
/* SQLite DB access */
import de.bezier.data.sql.*;
@@ -367,7 +385,6 @@ class SQLiteDataSource implements DataSource {
stopWatch();
print("Loading cities...");
db.query("select cities.*, count(*) as sighting_count , cities.name||', '||states.name_abbreviation as city_name from cities join sightings on sightings.city_id = cities.id join states on cities.state_id = states.id group by cities.id");
- cityMap = new HashMap<Integer,Place>();
minCountSightings = 1000;
maxCountSightings = 0;
while (db.next()) {
@@ -390,7 +407,6 @@ class SQLiteDataSource implements DataSource {
stopWatch();
print("Loading states...");
db.query("select * from states");
- stateMap = new HashMap<Integer,State>();
while (db.next()) {
stateMap.put(db.getInt("id"), new State(
db.getInt("id"),
@@ -473,7 +489,6 @@ class SQLiteDataSource implements DataSource {
stopWatch();
print("Loading airports...");
db.query("select * from airports");
- airportMap = new HashMap<Integer,Place>();
while (db.next()) {
airportMap.put(db.getInt("id"), new Place(AIRPORT,
@@ -491,7 +506,6 @@ class SQLiteDataSource implements DataSource {
stopWatch();
print("Loading military bases...");
db.query("select * from military_bases");
- militaryBaseMap = new HashMap<Integer,Place>();
while (db.next()) {
militaryBaseMap.put(db.getInt("id"), new Place(MILITARY_BASE,
@@ -509,7 +523,6 @@ class SQLiteDataSource implements DataSource {
stopWatch();
print("Loading weather stations...");
db.query("select * from weather_stations");
- weatherStationMap = new HashMap<Integer,Place>();
while (db.next()) {
weatherStationMap.put(db.getInt("id"), new Place(WEATHER_STATION,
@@ -525,7 +538,6 @@ class SQLiteDataSource implements DataSource {
void loadSightingTypes()
{
db.query("select * from sighting_types;");
- sightingTypeMap = new LinkedHashMap<Integer, SightingType>();
while (db.next()) {
sightingTypeMap.put(db.getInt("id"), new SightingType(
db.getInt("id"),
@@ -602,21 +614,7 @@ class SQLiteDataSource implements DataSource {
+ " from sightings join shapes on shape_id = shapes.id group by hour, type_id;",
"hour");
}
-
- float[] airportsDistanceBreaks = {7.794978,12.22485,16.34988,21.02355,26.27319,32.03328,38.54012,45.20428,54.43778,64.34605,76.22255,91.7209,113.2127,152.5769};
- float[] weatherStDistanceBreaks = {3.417465,5.244248,6.937217,8.564252,10.51355,12.41377,14.63627,16.98696,19.75864,23.02078,26.70035,31.42313,38.6634,50.20286};
- float[] militaryBaseDistanceBreaks = {12.07392,20.41422,27.86664,36.02675,44.57247,54.70817,67.01115,80.2194,95.13276,111.2619,133.6569,158.7418,192.5056,247.0147};
- float[] populationDensityBreaks = {470,1290,2150,3073.333,4136.667,5350,7173.333,10183.33,14460,25483,54829};
-
-
- float[] getLegendLabels(String activeMode){
- if (activeMode.equals("Airport distance")) return airportsDistanceBreaks;
- else if (activeMode.equals("Military Base distance")) return militaryBaseDistanceBreaks;
- else if (activeMode.equals("Weather Station dist.")) return weatherStDistanceBreaks;
- else if (activeMode.equals("County Population dens.")) return populationDensityBreaks;
-
- return null;
- }
+
List<Bucket> sightingCountsByAirportDistance()
{
String caseQuery = "when distance < "+airportsDistanceBreaks[0]+" then 1 ";
View
187 WebDataSource.pde
@@ -0,0 +1,187 @@
+class WebDataSource implements DataSource {
+
+ void tsvLoad(String filename, String tag)
+ {
+ String[] rows = loadStrings(filename); // actually text lines
+ for (int i = 0; i < rows.length; i++) {
+ if (trim(rows[i]).length() == 0) {
+ continue; // skip empty rows
+ }
+ if (rows[i].startsWith("#")) {
+ continue; // skip comment lines
+ }
+
+ String[] pieces = split(rows[i], TAB);
+
+ processRow(pieces, tag);
+ }
+ }
+
+ void processRow(String pieces[], String tag)
+ {
+ if (tag.equals("sighting_types")) {
+ int id = int(pieces[0]);
+ sightingTypeMap.put(id, new SightingType(
+ id,
+ loadImage(pieces[2]),
+ color(UFOColors[id-1]),
+ pieces[1]
+ ));
+ }
+ else if (tag.equals("states")) {
+ int id = int(pieces[0]);
+ stateMap.put(id, new State(
+ id,
+ new Location(float(pieces[3]), float(pieces[4])),
+ pieces[2],
+ pieces[1]
+ ));
+ }
+ else if (tag.equals("cities")) {
+ int id = int(pieces[0]);
+ cityMap.put(id, new City(
+ id,
+ new Location(float(pieces[4]), float(pieces[5])),
+ pieces[3],
+ 0,
+ int(pieces[2]),
+ int(pieces[1])
+ ));
+ }
+ else if (tag.equals("airports")) {
+ int id = int(pieces[0]);
+ airportMap.put(id, new Place(AIRPORT,
+ id,
+ new Location(float(pieces[3]), float(pieces[4])),
+ pieces[1],
+ 0
+ ));
+ }
+ else if (tag.equals("military_bases")) {
+ int id = int(pieces[0]);
+ militaryBaseMap.put(id, new Place(MILITARY_BASE,
+ id,
+ new Location(float(pieces[2]), float(pieces[3])),
+ pieces[1],
+ 0
+ ));
+ }
+ else if (tag.equals("weather_stations")) {
+ int id = int(pieces[0]);
+ weatherStationMap.put(id, new Place(WEATHER_STATION,
+ id,
+ new Location(float(pieces[4]), float(pieces[5])),
+ pieces[1],
+ 0
+ ));
+ }
+
+ else if (tag.equals("city_dist")) {
+ int city_id = int(pieces[0]);
+ Place p = cityMap.get(city_id);
+ if (p!=null){
+ p.airportDist = float(pieces[1]);
+ p.militaryDist = float(pieces[2]);
+ p.weatherDist = float(pieces[3]);
+ }
+ }
+ }
+
+ void loadSightingTypes()
+ {
+ tsvLoad("sighting_types.tsv", "sighting_types");
+ }
+
+ void loadStates()
+ {
+ tsvLoad("states.tsv", "states");
+ }
+
+ void loadCities()
+ {
+ tsvLoad("cities.tsv", "cities");
+ }
+
+ void reloadCitySightingCounts()
+ {
+ /* TODO */
+ }
+
+ void loadAirports()
+ {
+ tsvLoad("airports.tsv", "airports");
+ }
+
+ void loadMilitaryBases()
+ {
+ tsvLoad("military_bases.tsv", "military_bases");
+ }
+
+ void loadWeatherStations()
+ {
+ tsvLoad("weather_stations.tsv", "weather_stations");
+ }
+
+ void loadCityDistances()
+ {
+ tsvLoad("city_dist.tsv", "city_dist");
+ }
+
+ List<Sighting> sightingsForCity(Place p)
+ {
+ ArrayList<Sighting> sightings = new ArrayList<Sighting>();
+
+ return sightings;
+ }
+
+ List<Bucket> sightingCountsByYear()
+ {
+ return new ArrayList<Bucket>();
+ }
+
+ List<Bucket> sightingCountsBySeason()
+ {
+ return new ArrayList<Bucket>();
+ }
+
+ List<Bucket> sightingCountsByMonth()
+ {
+ return new ArrayList<Bucket>();
+ }
+
+ List<Bucket> sightingCountsByHour()
+ {
+ return new ArrayList<Bucket>();
+ }
+
+ List<Bucket> sightingCountsByAirportDistance()
+ {
+ return new ArrayList<Bucket>();
+ }
+
+ List<Bucket> sightingCountsByWeatherStDistance()
+ {
+ return new ArrayList<Bucket>();
+ }
+
+ List<Bucket> sightingCountsByMilitaryBaseDistance()
+ {
+ return new ArrayList<Bucket>();
+ }
+
+ List<Bucket> sightingCountsByPopulationDensity()
+ {
+ return new ArrayList<Bucket>();
+ }
+
+ List<SightingLite> sightingsByTime(int chunkSize, int chunkNum)
+ {
+ return new ArrayList<SightingLite>();
+ }
+
+ Date getLastSightingDate()
+ {
+ return new Date();
+ }
+}
+
View
13 cs424p3.pde
@@ -54,17 +54,17 @@ PImage airplaneImage;
PImage militaryBaseImage;
PImage weatherStationImage;
-Map<Integer,Place> cityMap;
-Map<Integer,Place> airportMap;
-Map<Integer,Place> militaryBaseMap;
-Map<Integer,Place> weatherStationMap;
-Map<Integer,State> stateMap;
+Map<Integer,SightingType> sightingTypeMap = new LinkedHashMap<Integer, SightingType>();
+Map<Integer,State> stateMap = new HashMap<Integer,State>();
+Map<Integer,Place> cityMap = new HashMap<Integer,Place>();
+Map<Integer,Place> airportMap = new HashMap<Integer,Place>();
+Map<Integer,Place> militaryBaseMap = new HashMap<Integer,Place>();
+Map<Integer,Place> weatherStationMap = new HashMap<Integer,Place>();
PRTree<Place> cityTree;
PRTree<Place> airportTree;
PRTree<Place> militaryBaseTree;
PRTree<Place> weatherStationTree;
-Map<Integer,SightingType> sightingTypeMap;
Map<SightingType, Checkbox> typeCheckboxMap;
Sighting clickedSighting;
@@ -98,6 +98,7 @@ void setup()
/* load data */
data = new SQLiteDataSource();
+// data = new WebDataSource();
data.loadSightingTypes();
activeFilter = new SightingsFilter();
View
528 data/airports.tsv
@@ -0,0 +1,528 @@
+1 KABI ABILENE RGNL 32.4111111111111 -99.6816666666667
+2 KABQ 0 0
+3 KACK NANTUCKET MEM 41.2527777777778 -70.06
+4 KACT WACO RGNL 31.6111111111111 -97.2302777777778
+5 KACY ATLANTIC CITY INTERNATIONAL 39.4575 -74.5769444444445
+6 KADM ARDMORE MUNI 34.3030555555556 -97.0194444444445
+7 KADW ANDREWS AFB 38.8105555555556 -76.8669444444444
+8 KAEX ALEXANDRIA INTERNATIONAL 31.3272222222222 -92.5483333333333
+9 KAFB 0 0
+10 KAGS AUGUSTA RGNL AT BUSH FLD 33.3697222222222 -81.9644444444444
+11 KAKR AKRON FULTON INTERNATIONAL 41.0375 -81.4666666666667
+12 KALB ALBANY INTERNATIONAL 42.7480555555556 -73.8027777777778
+13 KALI ALICE INTERNATIONAL 27.7408333333333 -98.0269444444444
+14 KAMA AMARILLO INTERNATIONAL 35.2191666666667 -101.705833333333
+15 KANB ANNISTON METROPOLITAN 33.5880555555556 -85.8580555555556
+16 KAND ANDERSON RGNL 34.495 -82.7091666666667
+17 KAOO ALTOONA BLAIR CO 40.2963888888889 -78.32
+18 KAPG PHILLIPS AAF 39.4661111111111 -76.1694444444445
+19 KARA ACADIANA REGIONAL 30.0375 -91.8838888888889
+20 KART WATERTOWN INTERNATIONAL 43.9916666666667 -76.0216666666667
+21 KATL THE WILLIAM B HARTSFIELD ATLANTA INTERNATIONAL 33.6402777777778 -84.4269444444444
+22 KAUG AUGUSTA STATE 44.3205555555556 -69.7972222222222
+23 KAUS AUSTIN BERGSTROM INTERNATIONAL 30.1944444444444 -97.6697222222222
+24 KAYE 0 0
+25 KBAB BEALE AFB 39.1358333333333 -121.436388888889
+26 KBAD BARKSDALE AFB 32.5016666666667 -93.6625
+27 KBCT BOCA RATON 26.3783333333333 -80.1075
+28 KBDE BAUDETTE INTERNATIONAL 48.7283333333333 -94.6122222222222
+29 KBDL BRADLEY INTERNATIONAL 41.9388888888889 -72.6830555555556
+30 KBDR IGOR I SIKORSKY MEM 41.1633333333333 -73.1261111111111
+31 KBED LAURENCE G HANSCOM FLD 42.4697222222222 -71.2888888888889
+32 KBFI BOEING FLD KING CO INTERNATIONAL 47.5297222222222 -122.301944444444
+33 KBFL MEADOWS FLD 35.4333333333333 -119.056666666667
+34 KBFM MOBILE DOWNTOWN 30.6263888888889 -88.0677777777778
+35 KBGR BANGOR INTERNATIONAL 44.8072222222222 -68.8280555555556
+36 KBGS 0 0
+37 KBHM BIRMINGHAM INTERNATIONAL 33.5627777777778 -86.7533333333333
+38 KBIF BIGGS AAF 31.8494444444444 -106.38
+39 KBIX KEESLER AFB 30.4108333333333 -88.9236111111111
+40 KBKF BUCKLEY AFB 39.7016666666667 -104.751388888889
+41 KBLI BELLINGHAM INTERNATIONAL 48.7925 -122.5375
+42 KBLV SCOTT AFB MIDAMERICA 38.545 -89.835
+43 KBNA NASHVILLE INTERNATIONAL 36.1244444444444 -86.6780555555556
+44 KBOF 0 0
+45 KBOI BOISE AIR TERMINAL 43.5641666666667 -116.222777777778
+46 KBOS GENERAL EDWARD LAWRENCE LOGAN INTERNATIONAL 42.3641666666667 -71.005
+47 KBPT SOUTHEAST TEXAS RGNL 29.9508333333333 -94.0205555555556
+48 KBRO BROWNSVILLE SOUTH PADRE ISLAND INTERNATIONAL 25.9066666666667 -97.4258333333333
+49 KBSM 0 0
+50 KBTR BATON ROUGE METRO RYAN FLD 30.5330555555556 -91.1494444444444
+51 KBTV BURLINGTON INTERNATIONAL 44.4716666666667 -73.1530555555556
+52 KBUF BUFFALO NIAGARA INTERNATIONAL 42.9402777777778 -78.7319444444445
+53 KBUR BURBANK GLENDALE PASADENA 34.2005555555556 -118.358611111111
+54 KBWI BALTIMORE WASHINGTON INTERNATIONAL 39.1752777777778 -76.6683333333333
+55 KBYH ARKANSAS INTERNATIONAL 35.9641666666667 -89.9433333333333
+56 KBYS BICYCLE LAKE AAF 35.2802777777778 -116.63
+57 KCAE COLUMBIA METROPOLITAN 33.9386111111111 -81.1194444444444
+58 KCAR CARIBOU MUNI 46.8713888888889 -68.0177777777778
+59 KCBM COLUMBUS AFB 33.6438888888889 -88.4436111111111
+60 KCDC CEDAR CITY RGNL 37.7008333333333 -113.098611111111
+61 KCDS CHILDRESS MUNI 34.4336111111111 -100.288055555556
+62 KCEF WESTOVER ARB METROPOLITAN 42.1980555555556 -72.5341666666667
+63 KCEW BOB SIKES 30.7786111111111 -86.5219444444444
+64 KCFD COULTER FLD 30.7155555555556 -96.3311111111111
+65 KCGJ 0 0
+66 KCHA LOVELL FLD 35.0352777777778 -85.2036111111111
+67 KCHD 0 0
+68 KCHS CHARLESTON AFB INTERNATIONAL 32.8986111111111 -80.0402777777778
+69 KCIC CHICO MUNI 39.7952777777778 -121.858333333333
+70 KCLE CLEVELAND HOPKINS INTERNATIONAL 41.4116666666667 -81.8497222222222
+71 KCLL EASTERWOOD FLD 30.5883333333333 -96.3636111111111
+72 KCLT CHARLOTTE DOUGLAS INTERNATIONAL 35.2138888888889 -80.9430555555556
+73 KCMH PORT COLUMBUS INTERNATIONAL 39.9977777777778 -82.8916666666667
+74 KCNM CAVERN CITY AIR TERMINAL 32.3372222222222 -104.263055555556
+75 KCNW TSTC WACO 31.6377777777778 -97.0738888888889
+76 KCOF PATRICK AFB 28.2347222222222 -80.61
+77 KCOS CITY OF COLORADO SPRINGS MUNI 38.8055555555556 -104.7
+78 KCOT COTULLA LA SALLE CO 28.4580555555556 -99.22
+79 KCOU COLUMBIA RGNL 38.8180555555556 -92.2194444444445
+80 KCPR NATRONA CO INTERNATIONAL 42.9077777777778 -106.464166666667
+81 KCRP CORPUS CHRISTI INTERNATIONAL 27.7702777777778 -97.5011111111111
+82 KCTB CUT BANK MUNI 48.6083333333333 -112.376111111111
+83 KCUS 0 0
+84 KCVG CINCINNATI NORTHERN KENTUCKY INTERNATIONAL 39.0461111111111 -84.6619444444444
+85 KCVS CANNON AFB 34.3825 -103.321944444444
+86 KCXL CALEXICO INTERNATIONAL 32.6694444444444 -115.513055555556
+87 KCXO MONTGOMERY CO 30.3516666666667 -95.4144444444444
+88 KCYS CHEYENNE 41.1555555555556 -104.811666666667
+89 KDAL DALLAS LOVE FLD 32.8469444444444 -96.8516666666667
+90 KDAY JAMES M COX DAYTON INTERNATIONAL 39.9022222222222 -84.2191666666667
+91 KDCA RONALD REAGAN WASHINGTON NATIONAL 38.8519444444444 -77.0375
+92 KDCG 0 0
+93 KDDA 0 0
+94 KDEN DENVER INTERNATIONAL 39.8583333333333 -104.666944444444
+95 KDET DETROIT CITY 42.4091666666667 -83.0097222222222
+96 KDFW DALLAS FORT WORTH INTERNATIONAL 32.8963888888889 -97.0375
+97 KDHN DOTHAN RGNL 31.3211111111111 -85.4494444444444
+98 KDHT DALHART MUNI 36.0225 -102.547222222222
+99 KDLF LAUGHLIN AFB 29.3594444444444 -100.777777777778
+100 KDLH DULUTH INTERNATIONAL 46.8419444444444 -92.1936111111111
+101 KDMA DAVIS MONTHAN AFB 32.1663888888889 -110.883055555556
+102 KDMF 0 0
+103 KDOV DOVER AFB 39.13 -75.4663888888889
+104 KDPA DU PAGE 41.9077777777778 -88.2486111111111
+105 KDRI BEAUREGARD PARISH 30.8316666666667 -93.3397222222222
+106 KDRO DURANGO LA PLATA CO 37.1513888888889 -107.753611111111
+107 KDRT DEL RIO INTERNATIONAL 29.3727777777778 -100.925833333333
+108 KDSM DES MOINES INTERNATIONAL 41.5338888888889 -93.6625
+109 KDTW DETROIT METRO WAYNE CO 42.2122222222222 -83.3533333333333
+110 KDUG BISBEE DOUGLAS INTERNATIONAL 31.4688888888889 -109.603611111111
+111 KDYS DYESS AFB 32.4205555555556 -99.8544444444444
+112 KECG ELIZABETH CITY CGAS RGNL 36.2605555555556 -76.1744444444445
+113 KEDW EDWARDS AFB 34.9052777777778 -117.883611111111
+114 KEFD ELLINGTON FLD 29.6072222222222 -95.1586111111111
+115 KEGP EAGLE PASS MUNI 28.7 -100.479444444444
+116 KEKN ELKINS RANDOLPH CO JENNINGS RANDOLPH 38.8894444444444 -79.8569444444445
+117 KELD SOUTH ARKANSAS RGNL AT GOODWIN FLD 33.2208333333333 -92.8130555555556
+118 KELP EL PASO INTERNATIONAL 31.8066666666667 -106.377777777778
+119 KEND VANCE AFB 36.3397222222222 -97.9161111111111
+120 KENV WENDOVER 40.7186111111111 -114.030833333333
+121 KESF ESLER RGNL 31.3947222222222 -92.2955555555556
+122 KEWN CRAVEN CO RGNL 35.0727777777778 -77.0427777777778
+123 KEWR NEWARK LIBERTY INTERNATIONAL 40.6922222222222 -74.1686111111111
+124 KEYW KEY WEST INTERNATIONAL 24.5561111111111 -81.7594444444444
+125 KFAF FELKER AAF 37.1325 -76.6086111111111
+126 KFAT FRESNO YOSEMITE INTERNATIONAL 36.7761111111111 -119.718055555556
+127 KFCS BUTTS AAF 38.6783333333333 -104.756388888889
+128 KFFO WRIGHT PATTERSON AFB 39.8261111111111 -84.0483333333333
+129 KFHU SIERRA VISTA MUNI LIBBY AAF 31.5883333333333 -110.344166666667
+130 KFLL FORT LAUDERDALE HOLLYWOOD INTERNATIONAL 26.0725 -80.1525
+131 KFLO FLORENCE RGNL 34.1852777777778 -79.7238888888889
+132 KFLV SHERMAN AAF 39.3683333333333 -94.9144444444444
+133 KFME TIPTON 39.0852777777778 -76.7591666666667
+134 KFMH OTIS ANGB 41.6583333333333 -70.5213888888889
+135 KFMN FOUR CORNERS RGNL 36.7411111111111 -108.229722222222
+136 KFMY PAGE FLD 26.5863888888889 -81.8630555555556
+137 KFOD FORT DODGE RGNL 42.5513888888889 -94.1925
+138 KFOE FORBES FLD 38.9508333333333 -95.6636111111111
+139 KFOK THE FRANCIS S GABRESKI 40.8436111111111 -72.6316666666667
+140 KFRI MARSHALL AAF 39.055 -96.7644444444445
+141 KFSI HENRY POST AAF 34.6497222222222 -98.4019444444444
+142 KFSM FORT SMITH RGNL 35.3363888888889 -94.3672222222222
+143 KFTK GODMAN AAF 37.9069444444444 -85.9719444444445
+144 KFTW FORT WORTH MEACHAM INTERNATIONAL 32.8197222222222 -97.3622222222222
+145 KFWH 0 0
+146 KFXE FORT LAUDERDALE EXECUTIVE 26.1972222222222 -80.1705555555556
+147 KFYV DRAKE FLD 36.005 -94.17
+148 KGAG GAGE 36.2952777777778 -99.7763888888889
+149 KGCK GARDEN CITY RGNL 37.9275 -100.724166666667
+150 KGEG SPOKANE INTERNATIONAL 47.6197222222222 -117.533611111111
+151 KGFA 0 0
+152 KGFK GRAND FORKS INTERNATIONAL 47.9491666666667 -97.1761111111111
+153 KGGG EAST TEXAS RGNL 32.3847222222222 -94.7113888888889
+154 KGLS SCHOLES INTERNATIONAL AT GALVESTON 29.2652777777778 -94.8602777777778
+155 KGNT GRANTS MILAN MUNI 35.1652777777778 -107.900555555556
+156 KGNV GAINESVILLE RGNL 29.69 -82.2716666666667
+157 KGRB AUSTIN STRAUBEL INTERNATIONAL 44.485 -88.1294444444445
+158 KGRF GRAY AAF 47.0791666666667 -122.580555555556
+159 KGRK ROBERT GRAY AAF 31.0672222222222 -97.8288888888889
+160 KGRR GERALD R FORD INTERNATIONAL 42.8808333333333 -85.5227777777778
+161 KGSB SEYMOUR JOHNSON AFB 35.3391666666667 -77.9605555555556
+162 KGTB WHEELER SACK AAF 44.0555555555556 -75.7194444444445
+163 KGTF GREAT FALLS INTERNATIONAL 47.4819444444444 -111.370555555556
+164 KGUS GRISSOM ARB 40.6480555555556 -86.1519444444444
+165 KGVT MAJORS 33.0677777777778 -96.0652777777778
+166 KGVW RICHARDS GEBAUR MEMORIAL 38.8433333333333 -94.5605555555556
+167 KGWO GREENWOOD LEFLORE 33.4941666666667 -90.0844444444444
+168 KHAR 0 0
+169 KHBR HOBART MUNI 34.9911111111111 -99.0511111111111
+170 KHFD HARTFORD BRAINARD 41.7361111111111 -72.65
+171 KHHR JACK NORTHROP FLD HAWTHORNE MUNI 33.9227777777778 -118.335
+172 KHIB CHISHOLM HIBBING 47.3863888888889 -92.8388888888889
+173 KHIF HILL AFB 41.1238888888889 -111.972777777778
+174 KHKY HICKORY RGNL 35.7411111111111 -81.3894444444445
+175 KHLN HELENA RGNL 46.6066666666667 -111.9825
+176 KHLR HOOD AAF 31.1386111111111 -97.7144444444444
+177 KHMN HOLLOMAN AFB 32.8525 -106.106388888889
+178 KHOB LEA CO RGNL 32.6875 -103.216944444444
+179 KHON HURON RGNL 44.385 -98.2283333333333
+180 KHOP CAMPBELL AAF 36.6683333333333 -87.4961111111111
+181 KHOU WILLIAM P HOBBY 29.6452777777778 -95.2788888888889
+182 KHPN WESTCHESTER CO 41.0669444444444 -73.7075
+183 KHRL VALLEY INTERNATIONAL 26.2283333333333 -97.6541666666667
+184 KHRO BOONE CO 36.2613888888889 -93.1547222222222
+185 KHRT HURLBURT FLD 30.4277777777778 -86.6891666666667
+186 KHST HOMESTEAD ARB 25.4883333333333 -80.3836111111111
+187 KHTB 0 0
+188 KHTL ROSCOMMON CO 44.3597222222222 -84.6711111111111
+189 KHUA REDSTONE AAF 34.6786111111111 -86.6847222222222
+190 KHUF TERRE HAUTE INTERNATIONAL HULMAN FLD 39.4513888888889 -87.3075
+191 KHUL HOULTON INTERNATIONAL 46.1230555555556 -67.7919444444444
+192 KHVR HAVRE CITY CO 48.5427777777778 -109.762222222222
+193 KHWO NORTH PERRY 26.0013888888889 -80.2402777777778
+194 KIAB MC CONNELL AFB 37.6227777777778 -97.2672222222222
+195 KIAD WASHINGTON DULLES INTERNATIONAL 38.9444444444444 -77.4555555555556
+196 KIAG NIAGARA FALLS INTERNATIONAL 43.1072222222222 -78.9461111111111
+197 KIAH GEORGE BUSH INTCNTL HOUSTON 29.9802777777778 -95.3397222222222
+198 KICT WICHITA MID CONTINENT 37.6497222222222 -97.4330555555556
+199 KIKK GREATER KANKAKEE 41.0713888888889 -87.8461111111111
+200 KIKR ALBUQUERQUE INTERNATIONAL SUNPORT 35.04 -106.609166666667
+201 KILG NEW CASTLE CO 39.6786111111111 -75.6063888888889
+202 KILM WILMINGTON INTERNATIONAL 34.2705555555556 -77.9025
+203 KIND INDIANAPOLIS INTERNATIONAL 39.7172222222222 -86.2941666666667
+204 KINJ 0 0
+205 KINK WINKLER CO 31.7794444444444 -103.201111111111
+206 KINL FALLS INTERNATIONAL 48.5661111111111 -93.4030555555556
+207 KINS INDIAN SPRINGS AF AUX 36.5869444444444 -115.673333333333
+208 KINT SMITH REYNOLDS 36.1336111111111 -80.2219444444445
+209 KIPL IMPERIAL CO 32.8341666666667 -115.578611111111
+210 KIPT WILLIAMSPORT RGNL 41.2419444444444 -76.9211111111111
+211 KISN SLOULIN FLD INTERNATIONAL 48.1777777777778 -103.642222222222
+212 KISP LONG ISLAND MAC ARTHUR 40.795 -73.1
+213 KJAN JACKSON INTERNATIONAL 32.3111111111111 -90.0758333333333
+214 KJAX JACKSONVILLE INTERNATIONAL 30.4938888888889 -81.6877777777778
+215 KJBR JONESBORO MUNI 35.8316666666667 -90.6461111111111
+216 KJFK JOHN F KENNEDY INTERNATIONAL 40.6397222222222 -73.7788888888889
+217 KJNT 0 0
+218 KJYD 0 0
+219 KLAN CAPITAL CITY 42.7786111111111 -84.5872222222222
+220 KLAS MC CARRAN INTERNATIONAL 36.0802777777778 -115.152222222222
+221 KLAX LOS ANGELES INTERNATIONAL 33.9425 -118.408055555556
+222 KLBB LUBBOCK INTERNATIONAL 33.6636111111111 -101.822777777778
+223 KLCH LAKE CHARLES RGNL 30.1261111111111 -93.2233333333333
+224 KLCK RICKENBACKER INTERNATIONAL 39.8136111111111 -82.9277777777778
+225 KLFI LANGLEY AFB 37.0827777777778 -76.3602777777778
+226 KLFK ANGELINA CO 31.2338888888889 -94.75
+227 KLFT LAFAYETTE RGNL 30.2052777777778 -91.9875
+228 KLGA LA GUARDIA 40.7772222222222 -73.8725
+229 KLGB LONG BEACH 33.8175 -118.151388888889
+230 KLHW WRIGHT AAF 31.8888888888889 -81.5622222222222
+231 KLIT ADAMS FLD 34.7294444444444 -92.2241666666667
+232 KLIZ 0 0
+233 KLNA PALM BEACH CO PARK 26.5927777777778 -80.085
+234 KLNK LINCOLN MUNI 40.8508333333333 -96.7591666666667
+235 KLOU BOWMAN FLD 38.2277777777778 -85.6636111111111
+236 KLRD LAREDO INTERNATIONAL 27.5436111111111 -99.4613888888889
+237 KLRF LITTLE ROCK AFB 34.9180555555556 -92.1463888888889
+238 KLSF LAWSON AAF 32.3372222222222 -84.9911111111111
+239 KLSV NELLIS AFB 36.2361111111111 -115.034166666667
+240 KLTS ALTUS AFB 34.6669444444444 -99.2666666666667
+241 KLUF LUKE AFB 33.535 -112.383055555556
+242 KLUK CINCINNATI MUNI LUNKEN FLD 39.1033333333333 -84.4186111111111
+243 KMAF MIDLAND INTERNATIONAL 31.9425 -102.201666666667
+244 KMCC MC CLELLAN AFLD 38.6675 -121.400555555556
+245 KMCF MACDILL AFB 27.8491666666667 -82.5211111111111
+246 KMCI KANSAS CITY INTERNATIONAL 39.2975 -94.7138888888889
+247 KMCN MIDDLE GEORGIA RGNL 32.6927777777778 -83.6491666666667
+248 KMCO ORLANDO INTERNATIONAL 28.4288888888889 -81.3158333333333
+249 KMDT HARRISBURG INTERNATIONAL 40.1933333333333 -76.7633333333333
+250 KMDW CHICAGO MIDWAY INTERNATIONAL 41.7858333333333 -87.7522222222222
+251 KMEM MEMPHIS INTERNATIONAL 35.0422222222222 -89.9766666666667
+252 KMER CASTLE 37.3802777777778 -120.568055555556
+253 KMFE MC ALLEN MILLER INTERNATIONAL 26.1758333333333 -98.2386111111111
+254 KMGE DOBBINS ARB 33.9152777777778 -84.5161111111111
+255 KMHR SACRAMENTO MATHER 38.5538888888889 -121.2975
+256 KMIA MIAMI INTERNATIONAL 25.7930555555556 -80.2905555555556
+257 KMIB MINOT AFB 48.4155555555556 -101.3575
+258 KMIV MILLVILLE MUNI 39.3677777777778 -75.0722222222222
+259 KMKE GENERAL MITCHELL INTERNATIONAL 42.9472222222222 -87.8963888888889
+260 KMKL MC KELLAR SIPES RGNL 35.5997222222222 -88.9155555555556
+261 KMKO DAVIS FLD 35.6575 -95.3613888888889
+262 KMLB MELBOURNE INTERNATIONAL 28.1025 -80.645
+263 KMLC MC ALESTER RGNL 34.8822222222222 -95.7833333333333
+264 KMLT MILLINOCKET MUNI 45.6477777777778 -68.6855555555556
+265 KMLU MONROE RGNL 32.5108333333333 -92.0375
+266 KMMV MC MINNVILLE MUNI 45.1944444444444 -123.135833333333
+267 KMNM MENOMINEE MARINETTE TWIN CO 45.1263888888889 -87.6383333333333
+268 KMOB MOBILE RGNL 30.6913888888889 -88.2427777777778
+269 KMOD MODESTO CITY CO HARRY SHAM 37.6255555555556 -120.954166666667
+270 KMOT MINOT INTERNATIONAL 48.2591666666667 -101.280277777778
+271 KMPV EDWARD F KNAPP STATE 44.2033333333333 -72.5622222222222
+272 KMQT SAWYER INTERNATIONAL 46.5338888888889 -87.5616666666667
+273 KMSN DANE CO RGNL TRUAX FLD 43.1397222222222 -89.3375
+274 KMSP MINNEAPOLIS ST PAUL INTERNATIONAL 44.8802777777778 -93.2166666666667
+275 KMSS MASSENA INTERNATIONAL RICHARDS FLD 44.9358333333333 -74.8452777777778
+276 KMSY LOUIS ARMSTRONG NEW ORLEANS INTERNATIONAL 29.9933333333333 -90.2577777777778
+277 KMTC SELFRIDGE ANGB 42.6127777777778 -82.8316666666667
+278 KMUI MUIR AAF 40.4347222222222 -76.5691666666667
+279 KMUO MOUNTAIN HOME AFB 43.0433333333333 -115.872222222222
+280 KMWH GRANT CO INTERNATIONAL 47.2075 -119.32
+281 KMWL MINERAL WELLS 32.7813888888889 -98.06
+282 KMXF MAXWELL AFB 32.3791666666667 -86.3625
+283 KMYR MYRTLE BEACH INTERNATIONAL 33.6797222222222 -78.9283333333333
+284 KNAB 0 0
+285 KNBC BEAUFORT MCAS 32.4772222222222 -80.7230555555556
+286 KNBG NEW ORLEANS NAS JRB 29.8252777777778 -90.035
+287 KNBM 0 0
+288 KNBU 0 0
+289 KNCA NEW RIVER MCAS 34.7083333333333 -77.4394444444445
+290 KNCO 0 0
+291 KNEA 0 0
+292 KNEL LAKEHURST NAES 40.0333333333333 -74.3533333333333
+293 KNFF 0 0
+294 KNFL FALLON NAS 39.4163888888889 -118.700833333333
+295 KNGU NORFOLK NS 36.9375 -76.2891666666667
+296 KNGZ 0 0
+297 KNHK PATUXENT RIVER NAS 38.2858333333333 -76.4116666666667
+298 KNID CHINA LAKE NAWS 35.6877777777778 -117.690555555556
+299 KNIP JACKSONVILLE NAS 30.2358333333333 -81.6805555555556
+300 KNIR 0 0
+301 KNJK EL CENTRO NAF 32.8291666666667 -115.671666666667
+302 KNKT CHERRY POINT MCAS 34.9025 -76.8808333333333
+303 KNKX MIRAMAR MCAS 32.8683333333333 -117.1425
+304 KNLC LEMOORE NAS 36.3327777777778 -119.951944444444
+305 KNMH 0 0
+306 KNMM MERIDIAN NAS 32.5519444444444 -88.5555555555556
+307 KNOW PORT ANGELES CGAS 48.1413888888889 -123.413888888889
+308 KNPA PENSACOLA NAS 30.3525 -87.3186111111111
+309 KNQA MILLINGTON MUNI 35.3566666666667 -89.8702777777778
+310 KNQI KINGSVILLE NAS 27.5072222222222 -97.8097222222222
+311 KNQX KEY WEST NAS 24.5758333333333 -81.6888888888889
+312 KNRJ 0 0
+313 KNSE WHITING FLD NAS NORTH 30.7241666666667 -87.0219444444444
+314 KNSI 0 0
+315 KNTD POINT MUGU NAS 34.1202777777778 -119.120833333333
+316 KNTK TUSTIN MCAF 33.7061111111111 -117.827222222222
+317 KNTU OCEANA NAS 36.8205555555556 -76.0333333333333
+318 KNUQ MOFFETT FEDERAL AFLD 37.415 -122.048055555556
+319 KNUW WHIDBEY ISLAND NAS 48.3516666666667 -122.655833333333
+320 KNVF 0 0
+321 KNXP TWENTYNINE PALMS EAF 34.2961111111111 -116.161944444444
+322 KNXX WILLOW GROVE NAS JRB 40.1997222222222 -75.1480555555556
+323 KNYG QUANTICO MCAF 38.5016666666667 -77.3052777777778
+324 KNZC CECIL FLD 30.2186111111111 -81.8763888888889
+325 KNZW 0 0
+326 KNZY NORTH ISLAND NAS 32.6991666666667 -117.215277777778
+327 KOAK METROPOLITAN OAKLAND INTERNATIONAL 37.7211111111111 -122.220555555556
+328 KOAR 0 0
+329 KOFF OFFUTT AFB 41.1183333333333 -95.9125
+330 KOGS OGDENSBURG INTERNATIONAL 44.6819444444444 -75.4655555555556
+331 KOKC WILL ROGERS WORLD 35.3930555555556 -97.6005555555556
+332 KOLS NOGALES INTERNATIONAL 31.4175 -110.847777777778
+333 KOMA EPPLEY AFLD 41.3025 -95.8936111111111
+334 KONT ONTARIO INTERNATIONAL 34.0558333333333 -117.601111111111
+335 KOPF OPA LOCKA 25.9069444444444 -80.2783333333333
+336 KORD CHICAGO OHARE INTERNATIONAL 41.9794444444444 -87.9044444444445
+337 KORF NORFOLK INTERNATIONAL 36.8944444444444 -76.2011111111111
+338 KORL EXECUTIVE 28.5452777777778 -81.3327777777778
+339 KOSC OSCODA WURTSMITH 44.4513888888889 -83.3938888888889
+340 KPAE SNOHOMISH CO 47.9061111111111 -122.281388888889
+341 KPAM TYNDALL AFB 30.0697222222222 -85.5763888888889
+342 KPBF GRIDER FLD 34.1747222222222 -91.9344444444444
+343 KPBG PLATTSBURGH INTERNATIONAL 44.6508333333333 -73.4680555555556
+344 KPBI PALM BEACH INTERNATIONAL 26.6830555555556 -80.0955555555556
+345 KPDX PORTLAND INTERNATIONAL 45.5886111111111 -122.5975
+346 KPHF NEWPORT NEWS WILLIAMSBURG INTERNATIONAL 37.1316666666667 -76.4927777777778
+347 KPHL PHILADELPHIA INTERNATIONAL 39.8719444444444 -75.2411111111111
+348 KPHN ST CLAIR CO INTERNATIONAL 42.9108333333333 -82.5286111111111
+349 KPHX PHOENIX SKY HARBOR INTERNATIONAL 33.4341666666667 -112.008055555556
+350 KPIE ST PETERSBURG CLEARWATER INTERNATIONAL 27.9105555555556 -82.6872222222222
+351 KPIT PITTSBURGH INTERNATIONAL 40.4913888888889 -80.2327777777778
+352 KPMB PEMBINA MUNI 48.9425 -97.2408333333333
+353 KPMD PALMDALE PROD FLT TEST INSTL AF PLT 42 34.6291666666667 -118.084444444444
+354 KPNC PONCA CITY MUNI 36.7305555555556 -97.0997222222222
+355 KPNE NORTHEAST PHILADELPHIA 40.0819444444444 -75.0105555555556
+356 KPNM PRINCETON MUNI 45.5597222222222 -93.6080555555556
+357 KPNS PENSACOLA RGNL 30.4730555555556 -87.1872222222222
+358 KPOB POPE AFB 35.1708333333333 -79.0144444444445
+359 KPOE POLK AAF 31.0447222222222 -93.1913888888889
+360 KPQI NORTHERN MAINE RGNL AT PRESQUE ISLE 46.6888888888889 -68.0447222222222
+361 KPRC ERNEST A LOVE FLD 34.6544444444444 -112.419444444444
+362 KPSP PALM SPRINGS INTERNATIONAL 33.8294444444444 -116.506666666667
+363 KPSX PALACIOS MUNI 28.7275 -96.2508333333333
+364 KPUB PUEBLO MEM 38.2888888888889 -104.496388888889
+365 KPVD THEODORE FRANCIS GREEN STATE 41.7238888888889 -71.4280555555556
+366 KPWM PORTLAND INTERNATIONAL JETPORT 43.6461111111111 -70.3086111111111
+367 KRAL RIVERSIDE MUNI 33.9516666666667 -117.445
+368 KRBM ROBINSON AAF 34.85 -92.3
+369 KRCA ELLSWORTH AFB 44.145 -103.103333333333
+370 KRDR GRAND FORKS AFB 47.9608333333333 -97.4011111111111
+371 KRDU RALEIGH DURHAM INTERNATIONAL 35.8775 -78.7872222222222
+372 KREE 0 0
+373 KRIC RICHMOND INTERNATIONAL 37.505 -77.3194444444444
+374 KRIU RANCHO MURIETA 38.4886111111111 -121.102222222222
+375 KRIV MARCH ARB 33.8805555555556 -117.259444444444
+376 KRME GRIFFISS AIRPARK 43.2336111111111 -75.4069444444445
+377 KRND RANDOLPH AFB 29.5294444444444 -98.2788888888889
+378 KRNO RENO TAHOE INTERNATIONAL 39.4983333333333 -119.768055555556
+379 KROC GREATER ROCHESTER INTERNATIONAL 43.1186111111111 -77.6722222222222
+380 KROW ROSWELL INDUSTRIAL AIR CENTER 33.3013888888889 -104.530555555556
+381 KRSW SOUTHWEST FLORIDA INTERNATIONAL 26.5361111111111 -81.755
+382 KSAC SACRAMENTO EXECUTIVE 38.5125 -121.493333333333
+383 KSAF SANTA FE MUNI 35.6166666666667 -106.088055555556
+384 KSAN SAN DIEGO INTERNATIONAL LINDBERGH FLD 32.7333333333333 -117.189444444444
+385 KSAT SAN ANTONIO INTERNATIONAL 29.5336111111111 -98.4697222222222
+386 KSAV SAVANNAH HILTON HEAD INTERNATIONAL 32.1275 -81.2019444444445
+387 KSAW SAWYER INTERNATIONAL 46.3536111111111 -87.3958333333333
+388 KSBO EMANUEL CO 32.6083333333333 -82.3686111111111
+389 KSBY SALISBURY OCEAN CITY WICOMICO RGNL 38.3402777777778 -75.5102777777778
+390 KSCI 0 0
+391 KSCK STOCKTON METROPOLITAN 37.8941666666667 -121.238611111111
+392 KSEA SEATTLE TACOMA INTERNATIONAL 47.4488888888889 -122.309166666667
+393 KSEM CRAIG FLD 32.3438888888889 -86.9877777777778
+394 KSES 0 0
+395 KSFF FELTS FLD 47.6827777777778 -117.3225
+396 KSFO SAN FRANCISCO INTERNATIONAL 37.6188888888889 -122.374722222222
+397 KSFS 0 0
+398 KSFZ NORTH CENTRAL STATE 41.9205555555556 -71.4911111111111
+399 KSHV SHREVEPORT RGNL 32.4463888888889 -93.8255555555556
+400 KSJC NORMAN Y MINETA SAN JOSE INTERNATIONAL 37.3616666666667 -121.928888888889
+401 KSJT SAN ANGELO RGNL MATHIS FLD 31.3575 -100.496111111111
+402 KSKA FAIRCHILD AFB 47.615 -117.655555555556
+403 KSKF LACKLAND AFB KELLY FLD ANNEX 29.3841666666667 -98.5808333333333
+404 KSKY GRIFFING SANDUSKY 41.4333333333333 -82.6522222222222
+405 KSLC SALT LAKE CITY INTERNATIONAL 40.7883333333333 -111.9775
+406 KSMF SACRAMENTO INTERNATIONAL 38.6952777777778 -121.590555555556
+407 KSNA JOHN WAYNE ARPT ORANGE CO 33.6755555555556 -117.868055555556
+408 KSPB SCAPPOOSE INDUSTRIAL AIRPARK 45.7725 -122.862222222222
+409 KSPG ALBERT WHITTED 27.765 -82.6269444444445
+410 KSPS SHEPPARD AFB WICHITA FALLS MUNI 33.9886111111111 -98.4916666666667
+411 KSSC SHAW AFB 33.9727777777778 -80.4727777777778
+412 KSSM 0 0
+413 KSTL LAMBERT ST LOUIS INTERNATIONAL 38.7475 -90.3597222222222
+414 KSUU TRAVIS AFB 38.2625 -121.927222222222
+415 KSUX SIOUX GATEWAY COL BUD DAY FLD 42.4025 -96.3841666666667
+416 KSVN HUNTER AAF 32.01 -81.1455555555556
+417 KSWA 0 0
+418 KSWF STEWART INTERNATIONAL 41.5038888888889 -74.1047222222222
+419 KSYM 0 0
+420 KSYR SYRACUSE HANCOCK INTERNATIONAL 43.1111111111111 -76.1061111111111
+421 KSZL WHITEMAN AFB 38.7302777777778 -93.5477777777778
+422 KTBN WAYNESVILLE RGNL ARPT AT FORNEY FLD 37.7413888888889 -92.1405555555556
+423 KTCC TUCUMCARI MUNI 35.1827777777778 -103.603055555556
+424 KTCM MC CHORD AFB 47.1375 -122.476388888889
+425 KTCS TRUTH OR CONSEQUENCES MUNI 33.2369444444444 -107.271666666667
+426 KTEB TETERBORO 40.8497222222222 -74.0608333333333
+427 KTIK TINKER AFB 35.4147222222222 -97.3863888888889
+428 KTLH TALLAHASSEE RGNL 30.3963888888889 -84.3502777777778
+429 KTMB KENDALL TAMIAMI EXECUTIVE 25.6477777777778 -80.4327777777778
+430 KTNT DADE COLLIER TRAINING AND TRANSITION 25.8616666666667 -80.8969444444444
+431 KTNX TONOPAH TEST RANGE 37.7944444444444 -116.778611111111
+432 KTPA TAMPA INTERNATIONAL 27.9752777777778 -82.5330555555556
+433 KTTN TRENTON MERCER 40.2766666666667 -74.8133333333333
+434 KTUL TULSA INTERNATIONAL 36.1983333333333 -95.8880555555556
+435 KTUS TUCSON INTERNATIONAL 32.1161111111111 -110.941388888889
+436 KTXK TEXARKANA RGNL WEBB FLD 33.4536111111111 -93.9908333333333
+437 KTYR TYLER POUNDS RGNL 32.3538888888889 -95.4022222222222
+438 KTYS MC GHEE TYSON 35.8122222222222 -83.9927777777778
+439 KUGN WAUKEGAN RGNL 42.4219444444444 -87.8677777777778
+440 KVAD MOODY AFB 30.9677777777778 -83.1927777777778
+441 KVBG VANDENBERG AFB 34.7294444444444 -120.576666666667
+442 KVCV SOUTHERN CALIFORNIA LOGISTICS 34.5930555555556 -117.379444444444
+443 KVRB VERO BEACH MUNI 27.6555555555556 -80.4177777777778
+444 KWAL WALLOPS FLIGHT FACILITY 37.94 -75.4663888888889
+445 KWRB ROBINS AFB 32.64 -83.5916666666667
+446 KWRI MC GUIRE AFB 40.0155555555556 -74.5936111111111
+447 KWSD CONDRON AAF 32.3413888888889 -106.4025
+448 KWWD CAPE MAY CO 39.0083333333333 -74.9080555555556
+449 KYIP WILLOW RUN 42.2377777777778 -83.5302777777778
+450 KYNG YOUNGSTOWN WARREN RGNL 41.2605555555556 -80.6788888888889
+451 KYUM YUMA MCAS YUMA INTERNATIONAL 32.6563888888889 -114.605833333333
+452 KZUN BLACK ROCK 35.0833333333333 -108.791666666667
+453 PAAQ PALMER MUNI 61.5947222222222 -149.088611111111
+454 PABA BARTER ISLAND LRRS 70.1338888888889 -143.576944444444
+455 PABE BETHEL 60.7797222222222 -161.837777777778
+456 PABH 0 0
+457 PABI ALLEN AAF 63.9944444444445 -145.721388888889
+458 PABK 0 0
+459 PABM BIG MOUNTAIN AFS 59.3616666666667 -155.257222222222
+460 PABR WILEY POST WILL ROGERS MEM 71.2852777777778 -156.765833333333
+461 PABT BETTLES 66.9152777777778 -151.528055555556
+462 PACD COLD BAY 55.2055555555556 -162.724166666667
+463 PACL CLEAR 64.3011111111111 -149.12
+464 PACS 0 0
+465 PACV MERLE K MUDHOLE SMITH 60.4916666666667 -145.4775
+466 PACZ CAPE ROMANZOF LRRS 61.7802777777778 -166.038611111111
+467 PADF 0 0
+468 PADK ADAK 51.8777777777778 -176.645833333333
+469 PADL DILLINGHAM 59.0452777777778 -158.503333333333
+470 PADQ KODIAK 57.75 -152.493611111111
+471 PADU UNALASKA 53.9 -166.543333333333
+472 PAED ELMENDORF AFB 61.2511111111111 -149.806388888889
+473 PAEH CAPE NEWENHAM LRRS 58.6472222222222 -162.060555555556
+474 PAEI EIELSON AFB 64.6655555555556 -147.101388888889
+475 PAEN KENAI MUNI 60.5730555555556 -151.245
+476 PAFA FAIRBANKS INTERNATIONAL 64.815 -147.856111111111
+477 PAFB WAINWRIGHT AAF 64.8375 -147.614444444444
+478 PAFR BRYANT AHP 61.2661111111111 -149.653055555556
+479 PAFW 0 0
+480 PAGA EDWARD G PITKA SR 64.7361111111111 -156.937222222222
+481 PAGK GULKANA 62.1547222222222 -145.456388888889
+482 PAGY SKAGWAY 59.46 -135.315555555556
+483 PAHG 0 0
+484 PAHO HOMER 59.6455555555556 -151.476388888889
+485 PAIL ILIAMNA 59.7536111111111 -154.910833333333
+486 PAIM INDIAN MOUNTAIN LRRS 65.9927777777778 -153.704166666667
+487 PAJN JUNEAU INTERNATIONAL 58.3547222222222 -134.576111111111
+488 PAKA 0 0
+489 PAKN KING SALMON 58.6766666666667 -156.649166666667
+490 PAKT KETCHIKAN INTERNATIONAL 55.3555555555556 -131.713611111111
+491 PALU CAPE LISBURNE LRRS 68.875 -166.11
+492 PAMC MC GRATH 62.9527777777778 -155.605555555556
+493 PAMD MIDDLETON ISLAND 59.4497222222222 -146.308611111111
+494 PAME 0 0
+495 PAMR MERRILL FLD 61.2141666666667 -149.846111111111
+496 PANC TED STEVENS ANCHORAGE INTERNATIONAL 61.1741666666667 -149.996111111111
+497 PANT ANNETTE ISLAND 55.0422222222222 -131.572222222222
+498 PAOM NOME 64.5119444444444 -165.445
+499 PAOR NORTHWAY 62.9611111111111 -141.928888888889
+500 PAOT RALPH WIEN MEM 66.8844444444444 -162.598333333333
+501 PAPB ST GEORGE 56.5783333333333 -169.661388888889
+502 PAPM PLATINUM 59.0111111111111 -161.819444444444
+503 PASC DEADHORSE 70.1947222222222 -148.465
+504 PASI SITKA ROCKY GUTIERREZ 57.0469444444444 -135.361388888889
+505 PASN ST PAUL ISLAND 57.1672222222222 -170.220277777778
+506 PASV SPARREVOHN LRRS 61.0972222222222 -155.574166666667
+507 PASY EARECKSON AS 52.7122222222222 174.113611111111
+508 PATA RALPH M CALHOUN 65.1741666666667 -152.109166666667
+509 PATC TIN CITY LRRS 65.5630555555556 -167.922222222222
+510 PATK TALKEETNA 62.3202777777778 -150.093611111111
+511 PATL TATALINA LRRS 62.8941666666667 -155.976388888889
+512 PAUN UNALAKLEET 63.8883333333333 -160.798888888889
+513 PAVD VALDEZ PIONEER FIELD 61.1338888888889 -146.248333333333
+514 PAWT WAINWRIGHT AS 70.6133333333333 -159.860277777778
+515 PAWW 0 0
+516 PAYA YAKUTAT 59.5030555555556 -139.66
+517 PBTI 0 0
+518 PFYU FORT YUKON 66.5713888888889 -145.250277777778
+519 PHJG 0 0
+520 PHKM 0 0
+521 PHKU 0 0
+522 PHMO 0 0
+523 PHUP UPOLU 20.265 -155.859722222222
+524 PHWA 0 0
+525 PHWR 0 0
+526 PHZH 0 0
+527 POLI OLIKTOK LRRS 70.4994444444445 -149.879444444444
+528 PPIZ POINT LAY LRRS 69.7327777777778 -163.005277777778
View
10,812 data/cities.tsv
10,812 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
13,676 data/city_dist.tsv
13,676 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
414 data/military_bases.tsv
@@ -0,0 +1,414 @@
+1 Air Force Academy 39.009814 -104.888878
+2 Buckley AFB 39.7033 -104.753718
+3 Cheyenne Mountain 38.744281 -104.846806
+4 Fort Carson 38.68 -104.75
+5 Peterson AFB 38.80654 -104.703484
+6 Schriever AFB 38.80338 -104.52564
+7 Bolling AFB 38.845436 -77.014106
+8 Coast Guard Headquarters 38.864653 -77.013666
+9 Fort McNair 38.868015 -77.017465
+10 Marine Barracks 38.8951 -77.0369
+11 Marine Safety Center 38.8951 -77.0369
+12 National Response Center 38.868834 -77.078123
+13 Naval Research Laboratory 38.823889 -77.0225
+14 Navy Yard 38.873085 -76.993784
+15 The Pentagon 38.87099 -77.05596
+16 Walter Reed 38.97409 -77.031369
+17 Camp Frank D. Merrill 34.57947 -84.024881
+18 Fort Benning 32.340811 -84.979763
+19 Fort Gillem 33.624624 -84.327812
+20 Fort Gordon 33.359001 -82.225171
+21 Fort McPherson 33.712388 -84.42842
+22 Fort Stewart 31.870255 -81.614655
+23 Hunter Army Airfield 32.013025 -81.147079
+24 Kings Bay Submarine Base 30.787334 -81.569998
+25 MCLB Albany 31.551047 -84.054122
+26 Moody AFB 30.967833 -83.193
+27 NAS Atlanta 33.913648 -84.52898
+28 Robins AFB 32.641037 -83.591194
+29 Barking Sands Missile Range 22.033139 -159.789276
+30 Bellows Air Force Station 21.361004 -157.710309
+31 Fort Shafter 21.338836 -157.888553
+32 Hickam AFB 21.332806 -157.930407
+33 MCB Hawaii 21.44508 -157.75011
+34 NCTAMS PAC 21.361944 -157.953611
+35 NS Pearl Harbor 21.361944 -157.953611
+36 Schofield Barracks 21.500033 -158.06777
+37 Station Maui 20.902967 -156.544936
+38 Tripler Medical Center 21.359574 -157.890208
+39 USCG ISC Honolulu 21.30104 -157.870784
+40 Bagram Air Base 34.946111 69.265
+41 Camp Dwyer 31 64
+42 Camp Leatherneck 31 64
+43 FOB Delaram 32.163889 63.430833
+44 Kandahar International Airport 31.505833 65.847778
+45 Shindand Airbase 33.391331 62.260975
+46 Fort Leavenworth 39.354142 -94.928255
+47 Fort Riley 39.080362 -96.783753
+48 McConnell AFB 37.624429 -97.271061
+49 Andersen AFB 13.581111 144.924444
+50 Naval Base Guam 13.44 144.66
+51 Naval Forces Marianas 13.581111 144.924444
+52 Aviano AB 46.027536 12.588408
+53 Camp Darby 43.627726 10.291712
+54 Caserma Ederle 45.55 11.54
+55 NAS Sigonella 37.401667 14.922222
+56 NSA Gaeta 41.216667 13.566667
+57 NSA La Maddalena 41.216667 9.4
+58 NSA Naples 40.8807622 14.2905454
+59 Incirlik Air Base 37.001944 35.425833
+60 Izmir Air Base 38.423508 27.142853
+61 Camp Courtney 26.383333 127.85
+62 Camp Foster 26.283333 127.783333
+63 Camp Fuji 35.316667 138.933333
+64 Camp Gonsalves 26.7 128.25
+65 Camp Hansen 26.452 127.918
+66 Camp Kinser 35.748611 139.333333
+67 Camp Lester 26.316667 127.766667
+68 Camp McTureous 26.381389 127.846389
+69 Camp S.D. Butler 26 128
+70 Camp Schwab 26.383333 127.85
+71 Camp Zama 35.488611 139.407778
+72 Fleet Activities Okinawa 26.5 128
+73 Fleet Activities Sasebo 33.183333 129.716667
+74 Fleet Activities Yokosuka 35.25 139.666667
+75 Fort Buckner 26.295714 127.77709
+76 Kadena Air Base 26.355556 127.7675
+77 MCAS Futenma 26.283333 127.783333
+78 MCAS Iwakuni 34.143611 132.235556
+79 Misawa Air Base 40.703056 141.368333
+80 Naval Air Facility Atsugi 35.454722 139.450278
+81 Torii Station 26.493 127.851
+82 Yokota Air Base 35.748611 139.348611
+83 Yontan Airfield 26.393564 127.7467
+84 Camp Carroll 35.866667 128.6
+85 Camp Casey 37.921914 127.085461
+86 Camp Castle 35.907757 127.766922
+87 Camp Eagle 37.466969 128.136172
+88 Camp Hovey 37.904989 127.084044
+89 Camp Humphreys 36.966667 127.033333
+90 Camp Market 37.215139 126.600881
+91 Camp Red Cloud 37.75 127.05
+92 Camp Stanley 37.75 127.05
+93 Fleet Activities Chinhae 35.15 128.666667
+94 K-16 Air Base 37.445833 127.113889
+95 Kunsan Air Base 35.916667 126.616667
+96 Osan Air Base 37.090556 127.029722
+97 USAG Daegu 35.8382377 128.5906363
+98 USAG Yongsan 35.907757 127.766922
+99 Lajes Field 38.761667 -27.095
+100 Moron Air Base 37.174722 -5.615833
+101 Naval Station Rota 36.616667 -6.35
+102 Fort Campbell 36.673169 -87.492542
+103 Fort Knox 37.906418 -85.960808
+104 RAF Alconbury 52.370908 -0.226928
+105 RAF Croughton 51.99729 -1.20906
+106 RAF Fairford 51.682222 -1.79
+107 RAF Lakenheath 52.408333 0.556667
+108 RAF Menwith Hill 54.008056 -1.69
+109 RAF Mildenhall 52.365 0.480833
+110 Campbell Barracks 49.412222 8.71
+111 Landstuhl Medical Center 49.404167 7.560278
+112 NATO Base Geilenkirchen 50.960833 6.0425
+113 Panzer Kaserne 48.681944 9.046111
+114 Patrick Henry Village 49.378 8.629
+115 Ramstein AB 49.438333 7.601944
+116 Spangdahlem Air Base 49.978384 6.700287
+117 USAG Ansbach 49.300884 10.573165
+118 USAG Bamberg 49.905998 10.912336
+119 USAG Baumholder 49.615158 7.34069
+120 USAG Darmstadt 49.844486 8.650359
+121 USAG Garmisch 47.492343 11.086231
+122 USAG Grafenwoehr 49.721373 11.902607
+123 USAG Heidelberg 49.401736 8.675071
+124 USAG Hessen 50.119093 8.960008
+125 USAG Hohenfels 52.584563 10.753928
+126 USAG Kaiserslautern 49.423683 7.737672
+127 USAG Mannheim 49.401929 8.680239
+128 USAG Schweinfurt 50.049113 10.231144
+129 USAG Stuttgart 48.777127 9.180707
+130 USAG Wiesbaden 50.075767 8.268761
+131 Thule Air Base 76.531389 -68.703333
+132 Camp Bondsteel 42.366667 21.25
+133 Barksdale AFB 32.501365 -93.662567
+134 Fort Polk 31.046812 -93.205394
+135 JRB New Orleans 29.827689 -90.021286
+136 NSA New Orleans 29.944853 -90.033682
+137 Fort Buchanan 18.412973 -66.119833
+138 Aberdeen Proving Ground 39.467342 -76.15654
+139 Andrews AFB 38.812961 -76.870651
+140 Coast Guard Yard 39.20697 -76.561976
+141 Fort Detrick 39.448296 -77.427881
+142 Fort Meade 39.090394 -76.719404
+143 NAS Patuxent River 38.285939 -76.418628
+144 Naval Academy 38.986269 -76.474805
+145 Naval Medical Center 39.001126 -77.096998
+146 NSA Annapolis 38.986269 -76.474805
+147 NSF Indian Head 38.561143 -77.169683
+148 Surface Forces Logistics 39.20697 -76.561976
+149 USAG Benelux 50.575833 3.831
+150 USAG Brussels 50.864248 4.434571
+151 Joint Force Command Brunssum 50.9382499 5.9808809
+152 USAG Schinnen 50.95 5.883333
+153 Air Station Cape Cod 41.658293 -70.521927
+154 Fort Devens 42.53644 -71.618592
+155 Hanscom AFB 42.468868 -71.2909
+156 Soldier Systems Center 42.283783 -71.347275
+157 Southeastern New England 41.522886 -70.667847
+158 Westover Air Reserve Base 42.193889 -72.534722
+159 Fort Leonard Wood 37.731082 -92.15229
+160 MC Mobilization Command 38.950865 -94.54834
+161 Whiteman AFB 38.728911 -93.560535
+162 Fort Dix 40.010398 -74.614838
+163 Fort Monmouth 40.318266 -74.034098
+164 Lakehurst 40.026563 -74.398384
+165 Loran Support Unit 38.985715 -74.829413
+166 McGuire AFB 40.029421 -74.589072
+167 NWS Earle 40.279967 -74.171588
+168 Picatinny Arsenal 40.965505 -74.522703
+169 Training Center Cape May 38.985802 -74.906163
+170 Logistics Group Western Pacific 1.366667 103.8
+171 Guantanamo Bay 19.902222 -75.098889
+172 Cannon AFB 34.384543 -103.316387
+173 Holloman AFB 32.837294 -106.096872
+174 Kirtland AFB 34.986121 -106.51379
+175 White Sands Missile Range 32.942996 -106.418982
+176 Cannon AFB 34.384543 -103.316387
+177 Holloman AFB 32.837294 -106.096872
+178 Kirtland AFB 34.986121 -106.51379
+179 White Sands Missile Range 32.942996 -106.418982
+180 NRCC Bahrain 26.051907 50.541057
+181 NSA Bahrain 26.209722 50.609722
+182 NSA Souda Bay 35.483333 24.138056
+183 Fort Drum 44.059466 -75.716057
+184 Fort Hamilton 40.70625 -73.997177
+185 Saratoga Springs NSU 43.079913 -73.820345
+186 US Military Academy 41.386524 -73.965845
+187 Watervliet Arsenal 42.720249 -73.706855
+188 Operations Systems Center 39.388 -77.886
+189 Vessel Document Center 39.559 -77.891
+190 Air Station Elizabeth City 36.317064 -76.27538
+191 Camp Lejeune 34.644914 -77.321171
+192 Fort Bragg 35.146582 -79.001312
+193 MCAS Cherry Point 34.902545 -76.887646
+194 MCAS New River 34.711844 -77.443829
+195 National Strike Force 36.317064 -76.27538
+196 Pope AFB 35.173055 -79.008376
+197 Seymour Johnson AFB 35.350359 -77.960468
+198 Altus AFB 34.663887 -99.273888
+199 Coast Guard Institute 35.38449 -97.64294
+200 Container Inspection Training 35.398655 -97.618605
+201 Fort Sill 34.650438 -98.403683
+202 Tinker Air Force Base 35.414724 -97.391675
+203 Vance AFB 36.342196 -97.903367
+204 Carlisle Barracks 40.209873 -77.172734
+205 JRB Willow Grove 40.199971 -75.148861
+206 NSA Mechanicsburg 40.240084 -76.98345
+207 Tobyhanna Army Depot 41.185306 -75.452973
+208 Fort Jackson 34.045263 -80.833969
+209 Joint Base Charleston 32.902074 -80.051537
+210 MCAS Beaufort 32.458457 -80.70966
+211 MCRD Parris Island 32.409729 -80.733009
+212 Naval Hospital Beaufort 32.391934 -80.685158
+213 Naval Hospital Charleston 32.858283 -79.981968
+214 NWS Charleston 32.927975 -79.939987
+215 Shaw AFB 33.973057 -80.472778
+216 Brooks City-Base 29.342399 -98.440107
+217 Dyess AFB 32.419998 -99.856941
+218 Fort Bliss 32.119801 -106.064072
+219 Fort Hood 31.24 -97.74
+220 Fort Sam Houston 29.475679 -98.430024
+221 Goodfellow AFB 31.432869 -100.406471
+222 JRB Fort Worth 32.76629 -97.436068
+223 Lackland AFB 29.376275 -98.626265
+224 Laughlin AFB 29.35755 -100.785503
+225 NAS Corpus Christi 27.694385 -97.270045
+226 NAS Kingsville 27.455103 -97.69229
+227 NS Ingleside 27.859534 -97.209474
+228 Randolph AFB 29.529673 -98.2789
+229 Red River Army Depot 33.425 -94.0478
+230 Sheppard AFB 33.986304 -98.494607
+231 Finance Center 36.8187 -76.2753
+232 Fort A.P. Hill 37.413326 -79.155975
+233 Fort Belvoir 38.710647 -77.158487
+234 Fort Eustis 37.16049 -76.58025
+235 Fort Lee 37.255894 -77.333573
+236 Fort Monroe 37.005051 -76.309991
+237 Fort Myer 38.883087 -77.080606
+238 Henderson Hall 38.880344 -77.10826
+239 Joint Expeditionary Base 36.918057 -76.009556
+240 Langley AFB 37.084616 -76.360552
+241 MCB Quantico 38.529933 -77.445404
+242 Medical Center Portsmouth 36.848233 -76.306209
+243 NAB Little Creek 36.916897 -76.190078
+244 NAS Oceana 36.825638 -76.033459
+245 National Maritime Center 38.874992 -77.122609
+246 National Pollution Funds Center 38.8955 -77.1445
+247 Navigation Center 38.7955 -77.13485
+248 Norfolk Naval Shipyard 36.820086 -76.300926
+249 NS Norfolk 36.947398 -76.31692
+250 NSA Norfolk 36.923381 -76.303271
+251 NSA Northwest Annex 36.643075 -76.278472
+252 NSWC Dahlgren 38.325 -77.033333
+253 NWS Yorktown 37.2136 -76.4873
+254 SCSC Wallops Island 37.868382 -75.453698
+255 Sector Hampton Roads 36.835 -76.298
+256 Telecom Systems Command 38.7955 -77.13475
+257 Training Center Yorktown 37.239 -76.5142
+258 Fairchild AFB 47.618865 -117.656329
+259 Fort Lewis 47.08 -122.565857
+260 Kitsap 47.723043 -122.713509
+261 McChord AFB 47.147233 -122.479534
+262 NAS Whidbey Island 48.342545 -122.675946
+263 Naval Hospital Bremerton 47.593553 -122.693021
+264 NS Everett 47.988768 -122.214032
+265 Fort McCoy 43.96 -90.74
+266 Fort Chaffee 35.27 -94.202
+267 Little Rock AFB 34.918056 -92.146389
+268 Pine Bluff Arsenal 34.295232 -92.06852
+269 Grissom Air Reserve Base 40.650885 -86.149893
+270 NSWC Crane Division 38.833333 -86.791667
+271 Aitos Logistics Center 42.7 27.25
+272 Bezmer Air Base 42.454722 26.352222
+273 Graf Ignatievo Air Base 42.290278 24.713889
+274 Novo Selo Range 42.720278 26.591944
+275 Al Udeid Air Base 25.117222 51.314722
+276 Eskan Village Air Base 24.575851 46.847506
+277 King Abdul Aziz Air Base 26.255119 50.145936
+278 King Fahd Air Base 21.4819439 40.5386925
+279 King Khalid Air Base 24.957778 46.698889
+280 Riyadh Air Base 24.709722 46.725278
+281 Transit Center at Manas 43.050278 74.469444
+282 Camp Baharia 33.315264 43.883169
+283 Camp Banzai 33.383056 44.34
+284 Camp Bucca 30.037743 47.918072
+285 Camp Fallujah 33.315264 43.883169
+286 Camp Taji 33.529444 44.2775
+287 Camp Victory 33.284 44.2561
+288 COP Shocker 33.158794 46.038542
+289 FOB Abu Ghraib 33.291667 44.065556
+290 FOB Grizzly 33.8555556 44.5219444
+291 FOB Sykes 36.282889 42.402935
+292 Joint Base Balad 33.9333 44.3666
+293 Victory Base Complex 33.2625 44.234444
+294 Dover AFB 39.123239 -75.459805
+295 Ali Al Salem Airbase 29.346667 47.520556
+296 Camp Arifjan 28.8784 48.1597
+297 Camp Buehring 29.701511 47.43257
+298 Camp Doha 29.367778 47.803889
+299 Camp New York 29.439747 47.465229
+300 Camp Patriot 28.867827 48.277359
+301 Camp Spearhead 29.041763 48.143635
+302 Camp Virginia 29.695658 47.425747
+303 Air Station Clearwater 27.976766 -82.758536
+304 AUTEC Complex 26.715 -80.0537
+305 Blount Island Command 30.406137 -81.520872
+306 Camp Blanding 29.955 -81.98
+307 District 7 25.765482 -80.188406
+308 Eglin AFB 30.483814 -86.526175
+309 Hurlburt Field 30.427213 -86.694317
+310 ISC Miami 25.780996 -80.15267
+311 MacDill AFB 27.852205 -82.508097
+312 NAS Jacksonville 30.23623 -81.678028
+313 NAS Key West 24.574602 -81.690559
+314 NAS Pensacola 30.35088 -87.320967
+315 NAS Whiting Field 30.710042 -87.019893
+316 Naval Air Warfare Center 28.586501 -81.197526
+317 Naval Hospital Jacksonville 30.210868 -81.690631
+318 Naval Hospital Pensacola 30.402991 -87.325524
+319 NS Mayport 30.394199 -81.420021
+320 NSA Panama City 30.174886 -85.756445
+321 Patrick AFB 28.235 -80.61
+322 Training Center Corry 30.401667 -87.29
+323 Tyndall AFB 30.070877 -85.5762
+324 Mountain Home AFB 43.050074 -115.866966
+325 Clear Air Force Base 64.290953 -149.179917
+326 Eielson AFB 64.676023 -147.09157
+327 Elmendorf AFB 61.254954 -149.813819
+328 Fort Greely 63.905016 -145.554566
+329 Fort Richardson 61.26 -149.680012
+330 Fort Wainwright 64.827762 -147.643032
+331 ISC Kodiak 57.751809 -152.495384
+332 Marine Safety Unit Valdez 61.13 -146.348
+333 USCG Juneau 58.3016 -134.4194
+334 Great Lakes Training Center 42.308162 -87.850765
+335 Rock Island Arsenal 41.5095 -90.5786
+336 Scott AFB 38.545278 -89.835278
+337 Detroit Arsenal 42.506653 -83.028309
+338 Selfridge ANGB 42.615897 -82.840862
+339 Columbus AFB 33.64 -88.447189
+340 Gulfport Battalion Center 30.40634 -89.072685
+341 Keesler AFB 30.411388 -88.923615
+342 NAS Meridian 32.550844 -88.605691
+343 NS Pascagoula 30.336707 -88.576872
+344 Malmstrom AFB 47.507679 -111.178837
+345 Offutt AFB 41.118935 -95.914249
+346 Creech AFB 36.58831 -115.682688
+347 NAS Fallon 39.394128 -118.725462
+348 Nellis AFB 36.234928 -115.034323
+349 Grand Forks AFB 47.962101 -97.372538
+350 Minot AFB 48.420299 -101.345188
+351 ISC Cleveland 41.4997 -81.6956
+352 Wright-Patterson AFB 39.826731 -84.04832
+353 Ellsworth AFB 44.150531 -103.094438
+354 Dugway Proving Ground 40.206673 -113.289642
+355 Hill AFB 41.124635 -111.976044
+356 F.E. Warren AFB 41.15 -104.867195
+357 Umatilla Chemical Depot 45.843056 -119.438056
+358 Coast Guard Academy 41.345754 -72.105721
+359 Marine Safety Lab 41.402 -72.089
+360 New London Submarine Base 41.398115 -72.086964
+361 Research & Development Center 41.402 -72.089
+362 NAS Brunswick 43.893501 -69.937677
+363 NS Portsmouth 43.078889 -70.734167
+364 Portsmouth Shipyard 43.081139 -70.808418
+365 NS Newport 41.517429 -71.316473
+366 Station Castle Hill 41.467213 -71.349248
+367 Station Point Judith 41.36392 -71.487567
+368 Arnold AFB 35.204972 -86.099425
+369 NSA Mid-South 35.328228 -89.87318
+370 Anniston Army Depot 33.65 -85.975
+371 Aviation Training Center 30.687231 -88.243561
+372 Fort Rucker 31.355176 -85.749578
+373 Maxwell-Gunter AFB 32.380795 -86.361111
+374 Redstone Arsenal 34.649167 -86.670628
+375 Barry M. Goldwater Range 32.4625 -113.445833
+376 Camp Navajo 35.193611 -111.841944
+377 Davis-Monthan AFB 32.170006 -110.88279
+378 Fort Huachuca 31.586432 -110.34874
+379 Luke AFB 33.535249 -112.38036
+380 MCAS Yuma 32.650216 -114.618902
+381 Yuma Proving Ground 33.1456 -114.429131
+382 Beale AFB 39.138848 -121.438923
+383 Camp Parks (PRFTA) 37.716825 -121.89751
+384 Camp Pendleton 33.301333 -117.355167
+385 Chocolate Mountain Gunnery Range 33.3 -115.341667
+386 Edwards AFB 34.914933 -117.890339
+387 Fort Hunter Liggett 35.97 -121.2306495
+388 Fort Irwin 35.463606 -116.702614
+389 ISC Alameda 37.765 -122.24
+390 Los Angeles AFB 33.916064 -118.404075
+391 March Air Reserve Base 33.889675 -117.24821
+392 MCAS Miramar 32.870072 -117.14653
+393 McClellan AFB 38.667778 -121.400556
+394 MCLB Barstow 34.867975 -116.955814
+395 MCRD San Diego 32.73703 -117.199757
+396 Mountain Training Center 38.28916 -119.07006
+397 NAS Lemoore 36.322852 -119.92851
+398 NAS Point Mugu 34.119337 -119.119263
+399 Naval Air Facility El Centro 32.824367 -115.676311
+400 Naval Base Coronado 32.675795 -117.161293
+401 Naval Battalion Center 34.153792 -119.202089
+402 Naval Hospital Pendleton 33.323232 -117.314133
+403 Naval Medical Center 32.725786 -117.143328
+404 Naval Postgraduate School 36.596639 -121.873425
+405 NAWS China Lake 35.687697 -117.690697
+406 North Island Naval Complex 32.700933 -117.199917
+407 NS San Diego 32.675434 -117.121468
+408 NWS Seal Beach 33.746631 -118.091271
+409 Point Loma 32.683633 -117.239137
+410 Presidio of Monterey 36.603161 -121.910765
+411 TRACEN Petaluma 38.257571 -122.783084
+412 Travis AFB 38.258806 -121.945839
+413 Twentynine Palms 34.246588 -116.091026
+414 Vandenberg AFB 34.737381 -120.586452
View
7 data/sighting_types.tsv
@@ -0,0 +1,7 @@
+1 polygon blue.png 0000FF
+2 changing red.png FF0000
+3 unknown green.png 00FF00
+4 other yellow.png FFFF00
+5 round orange.png F6358A
+6 triangle purple.png 8000FF
+7 light star.png 00FFFF
View
50 data/states.tsv
@@ -0,0 +1,50 @@
+2 AL ALABAMA 32.8416666666667 -86.6333333333333
+3 AR ARKANSAS 34.815 -92.3016666666667
+4 AZ ARIZONA 34.3083333333333 -111.793333333333
+6 CA CALIFORNIA 36.965 -120.081666666667
+7 CO COLORADO 38.9983333333333 -105.641666666667
+8 CT CONNECTICUT 41.595 -72.7066666666667
+9 DC DISTRICT OF COLUMBIA 39.1666666666667 -76.85
+10 DE DELAWARE 38.98 -75.5116666666667
+11 FL FLORIDA 28.1333333333333 -81.6316666666667
+12 GA GEORGIA 32.7133333333333 -83.495
+13 HI HAWAII 20.9516666666667 -157.276666666667
+14 IA IOWA 41.9616666666667 -93.385
+15 ID IDAHO 44.2566666666667 -114.956666666667
+16 IL ILLINOIS 40.0133333333333 -89.3066666666667
+17 IN INDIANA 39.895 -86.2666666666667
+18 KS KANSAS 38.4983333333333 -98.6983333333333
+19 KY KENTUCKY 37.3583333333333 -85.5066666666667
+20 LA LOUISIANA 30.9683333333333 -92.5366666666667
+21 MA MASSACHUSETTS 42.34 -72.0316666666667
+23 MD MARYLAND 39.4416666666667 -77.3716666666667
+24 ME MAINE 45.2533333333333 -69.2333333333333
+25 MI MICHIGAN 45.0616666666667 -84.9383333333333
+26 MN MINNESOTA 46.025 -95.3266666666667
+27 MO MISSOURI 38.495 -92.6316666666667
+28 MS MISSISSIPPI 32.815 -89.7166666666667
+29 MT MONTANA 47.0316666666667 -109.638333333333
+31 NC NORTH CAROLINA 35.6033333333333 -79.455
+32 ND NORTH DAKOTA 47.4116666666667 -100.568333333333
+33 NE NEBRASKA 41.525 -99.8616666666667
+35 NH NEW HAMPSHIRE 43.6416666666667 -71.5716666666667
+36 NJ NEW JERSEY 40.07 -74.5583333333333
+37 NM NEW MEXICO 34.5016666666667 -106.111666666667
+40 NV NEVADA 39.505 -116.931666666667
+41 NY NEW YORK 42.965 -76.0166666666667
+42 OH OHIO 40.3616666666667 -82.7416666666667
+43 OK OKLAHOMA 35.5366666666667 -97.66
+45 OR OREGON 43.8683333333333 -120.978333333333
+46 PA PENNSYLVANIA 40.8966666666667 -77.7466666666667
+51 RI RHODE ISLAND 41.6716666666667 -71.5766666666667
+53 SC SOUTH CAROLINA 33.83 -80.8733333333333
+54 SD SOUTH DAKOTA 44.4016666666667 -100.478333333333
+56 TN TENNESSEE 35.795 -86.6216666666667
+57 TX TEXAS 31.2433333333333 -99.4583333333333
+58 UT UTAH 39.3866666666667 -111.685
+59 VA VIRGINIA 37.4883333333333 -78.5633333333333
+61 VT VERMONT 43.9266666666667 -72.6716666666667
+62 WA WASHINGTON 47.3333333333333 -120.268333333333
+63 WI WISCONSIN 44.4333333333333 -89.7633333333333
+64 WV WEST VIRGINIA 38.5983333333333 -80.7033333333333
+65 WY WYOMING 42.9716666666667 -107.671666666667
View
2,608 data/weather_stations.tsv
2,608 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
19 maketsv.sh
@@ -0,0 +1,19 @@
+sqlite3 data/ufo.db <<EOF
+.mode tabs
+.output data/sighting_types.tsv
+select * from sighting_types;
+.output data/states.tsv
+select * from states;
+.output data/cities.tsv
+select cities.*, count(*) as sighting_count , cities.name||', '||states.name_abbreviation as city_name from cities join sightings on sightings.city_id = cities.id join states on cities.state_id = states.id group by cities.id;
+.output data/airports.tsv
+select * from airports;
+.output data/military_bases.tsv
+select * from military_bases;
+.output data/weather_stations.tsv
+select * from weather_stations;
+.output data/city_dist.tsv
+select cities.id, city_airport_dist.distance as airportDist, city_military_base_dist.distance as militaryDist, city_weather_station_dist.distance as weatherDist from cities left outer join city_airport_dist on cities.id = city_airport_dist.city_id left outer join city_military_base_dist on cities.id = city_military_base_dist.city_id left outer join city_weather_station_dist on cities.id = city_weather_station_dist.city_id;
+.exit
+EOF
+

0 comments on commit 460d688

Please sign in to comment.