Commit 55d4dd82 authored by Volker Krause's avatar Volker Krause
Browse files

Rebuild airport database with the new OSM-optimized coordinates

parent b3860d3f
......@@ -306,7 +306,6 @@ private Q_SLOTS:
const auto d = LocationUtil::distance(coord.latitude, coord.longitude, lat, lon);
qDebug() << coord.latitude << coord.longitude << d << (dist - d);
#if 0
QEXPECT_FAIL("BUD", "closed terminal 1 (w8557242) interfering", Continue);
QEXPECT_FAIL("GLA", "airport is not a polygon in OSM", Continue);
QEXPECT_FAIL("PRG", "private/military terminals 3 and 4 interfering", Continue);
......@@ -323,7 +322,6 @@ private Q_SLOTS:
QEXPECT_FAIL("PEK", "complicated", Continue);
QVERIFY(d <= dist);
#endif
}
};
......
......@@ -15,8 +15,8 @@ X-KDE-KITINERARY-RESERVATION:[{"@context":"http://schema.org"\,"@type":
00-05:00"\,"timezone":"America/New_York"}\,"boardingTime":"2027-03-05T05:
30:00-05:00"\,"departureAirport":{"@type":"Airport"\,"address":{"@type":
"PostalAddress"\,"addressCountry":"US"}\,"geo":{"@type":
"GeoCoordinates"\,"latitude":37.618900299072266\,"longitude":
-122.375}\,"iataCode":"SFO"}\,"departureDay":
"GeoCoordinates"\,"latitude":37.6161994934082\,"longitude":
-122.39199829101562}\,"iataCode":"SFO"}\,"departureDay":
"2027-03-04"\,"departureTime":{"@type":"QDateTime"\,"@value":
"2027-03-04T20:15:00-08:00"\,"timezone":
"America/Los_Angeles"}\,"flightNumber":"110"}\,"reservationNumber":
......@@ -26,7 +26,7 @@ UID:KIT-XXX007-1b22236a-21ff-4885-8c99-b3b2bbca062c
LAST-MODIFIED:20171227T111649Z
DESCRIPTION:Boarding time: 5:30 AM\nBooking reference: RXJ34P
SUMMARY:Canceled: Flight UA 110 from SFO to JFK
GEO:37.618900;-122.375000
GEO:37.616199;-122.391998
DTSTART;TZID=America/Los_Angeles:20270304T201500
DTEND;TZID=America/New_York:20270305T063000
TRANSP:TRANSPARENT
......
......@@ -10,7 +10,7 @@ LAST-MODIFIED:20171227T111649Z
DESCRIPTION:Boarding time: 2:25 PM\nDeparture gate: 16\nJOHN DOE\nBoarding group: C\nSeat: 16E\nBooking reference: XXX007
SUMMARY:Flight AB 8075 from HEL to TXL
LOCATION:Helsinki
GEO:60.317200;24.963301
GEO:60.316399;24.969101
DTSTART;TZID=Europe/Helsinki:20170920T150500
DTEND;TZID=Europe/Berlin:20170920T160000
TRANSP:OPAQUE
......@@ -21,15 +21,15 @@ X-KDE-KITINERARY-RESERVATION:[{"@context":"http://schema.org"\,"@type":
"Airline"\,"iataCode":"AB"\,"name":"airberlin"}\,"arrivalAirport":
{"@type":"Airport"\,"address":{"@type":"PostalAddress"\,"addressCountry":
"DE"}\,"geo":{"@type":"GeoCoordinates"\,"latitude":
52.55970001220703\,"longitude":13.287799835205078}\,"iataCode":
52.55390167236328\,"longitude":13.29319953918457}\,"iataCode":
"TXL"\,"name":"Berlin (Tegel)"}\,"arrivalTime":{"@type":
"QDateTime"\,"@value":"2017-09-20T16:00:00+02:00"\,"timezone":
"Europe/Berlin"}\,"boardingTime":{"@type":"QDateTime"\,"@value":
"2017-09-20T14:25:00+03:00"\,"timezone":
"Europe/Helsinki"}\,"departureAirport":{"@type":"Airport"\,"address":
{"@type":"PostalAddress"\,"addressCountry":"FI"}\,"geo":{"@type":
"GeoCoordinates"\,"latitude":60.31719970703125\,"longitude":
24.963300704956055}\,"iataCode":"HEL"\,"name":"Helsinki"}\,"departureDay":
"GeoCoordinates"\,"latitude":60.31639862060547\,"longitude":
24.969100952148438}\,"iataCode":"HEL"\,"name":"Helsinki"}\,"departureDay":
"2017-09-20"\,"departureGate":"16"\,"departureTime":{"@type":
"QDateTime"\,"@value":"2017-09-20T15:05:00+03:00"\,"timezone":
"Europe/Helsinki"}\,"flightNumber":"8075"}\,"reservationNumber":
......
......@@ -17,8 +17,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.308101654052734,
"longitude": 4.764170169830322
"latitude": 52.30950164794922,
"longitude": 4.762179851531982
},
"iataCode": "AMS",
"name": "AMSTERDAM, NL (SCHIPHOL AIRPORT)"
......@@ -36,8 +36,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "BERLIN, DE (TEGEL)"
......@@ -71,8 +71,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 42.212501525878906,
"longitude": -83.35330200195312
"latitude": 42.207801818847656,
"longitude": -83.3561019897461
},
"iataCode": "DTW",
"name": "DETROIT, MI (METROPOLITAN WAYNE CO)"
......@@ -91,8 +91,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.308101654052734,
"longitude": 4.764170169830322
"latitude": 52.30950164794922,
"longitude": 4.762179851531982
},
"iataCode": "AMS",
"name": "AMSTERDAM, NL (SCHIPHOL AIRPORT)"
......@@ -146,8 +146,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 42.212501525878906,
"longitude": -83.35330200195312
"latitude": 42.207801818847656,
"longitude": -83.3561019897461
},
"iataCode": "DTW",
"name": "DETROIT, MI (METROPOLITAN WAYNE CO)"
......@@ -182,8 +182,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "BERLIN, DE (TEGEL)"
......
......@@ -17,8 +17,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 50.90140151977539,
"longitude": 4.484439849853516
"latitude": 50.89849853515625,
"longitude": 4.483029842376709
},
"iataCode": "BRU",
"name": "Brussels Airport, BE"
......@@ -36,8 +36,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "Berlin, Tegel Airport, DE"
......@@ -71,8 +71,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "Berlin, Tegel Airport, DE"
......@@ -90,8 +90,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 50.90140151977539,
"longitude": 4.484439849853516
"latitude": 50.89849853515625,
"longitude": 4.483029842376709
},
"iataCode": "BRU",
"name": "Brussels Airport, BE"
......
......@@ -17,8 +17,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 51.477500915527344,
"longitude": -0.4613890051841736
"latitude": 51.46609878540039,
"longitude": -0.4656749963760376
},
"iataCode": "LHR",
"name": "London Heathrow"
......@@ -36,8 +36,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "Berlin-Tegel"
......@@ -71,8 +71,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "Berlin-Tegel"
......@@ -90,8 +90,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 51.477500915527344,
"longitude": -0.4613890051841736
"latitude": 51.46609878540039,
"longitude": -0.4656749963760376
},
"iataCode": "LHR",
"name": "London Heathrow"
......
......@@ -17,8 +17,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 56.920799255371094,
"longitude": 23.970800399780273
"latitude": 56.92319869995117,
"longitude": 23.97800064086914
},
"iataCode": "RIX",
"name": "Riga"
......@@ -36,8 +36,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "Tegel"
......@@ -75,8 +75,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "Tegel"
......@@ -94,8 +94,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 56.920799255371094,
"longitude": 23.970800399780273
"latitude": 56.92319869995117,
"longitude": 23.97800064086914
},
"iataCode": "RIX",
"name": "Riga"
......
......@@ -17,8 +17,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 51.289398193359375,
"longitude": 6.766670227050781
"latitude": 51.2781982421875,
"longitude": 6.766839981079102
},
"iataCode": "DUS",
"name": "International Airport"
......@@ -36,8 +36,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "Tegel"
......@@ -75,8 +75,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 51.289398193359375,
"longitude": 6.766670227050781
"latitude": 51.2781982421875,
"longitude": 6.766839981079102
},
"iataCode": "DUS",
"name": "International Airport"
......@@ -94,8 +94,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "Tegel"
......@@ -133,8 +133,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 37.618900299072266,
"longitude": -122.375
"latitude": 37.6161994934082,
"longitude": -122.39199829101562
},
"iataCode": "SFO",
"name": "San Francisco International"
......@@ -152,8 +152,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 51.289398193359375,
"longitude": 6.766670227050781
"latitude": 51.2781982421875,
"longitude": 6.766839981079102
},
"iataCode": "DUS",
"name": "International Airport"
......@@ -191,8 +191,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 37.618900299072266,
"longitude": -122.375
"latitude": 37.6161994934082,
"longitude": -122.39199829101562
},
"iataCode": "SFO",
"name": "San Francisco International"
......@@ -210,8 +210,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 51.289398193359375,
"longitude": 6.766670227050781
"latitude": 51.2781982421875,
"longitude": 6.766839981079102
},
"iataCode": "DUS",
"name": "International Airport"
......@@ -249,8 +249,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 41.978599548339844,
"longitude": -87.90470123291016
"latitude": 41.977901458740234,
"longitude": -87.9030990600586
},
"iataCode": "ORD",
"name": "O Hare International"
......@@ -268,8 +268,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 45.588600158691406,
"longitude": -122.5979995727539
"latitude": 45.587398529052734,
"longitude": -122.59300231933594
},
"iataCode": "PDX",
"name": "Portland International"
......@@ -307,8 +307,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 41.978599548339844,
"longitude": -87.90470123291016
"latitude": 41.977901458740234,
"longitude": -87.9030990600586
},
"iataCode": "ORD",
"name": "O Hare International"
......@@ -326,8 +326,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 45.588600158691406,
"longitude": -122.5979995727539
"latitude": 45.587398529052734,
"longitude": -122.59300231933594
},
"iataCode": "PDX",
"name": "Portland International"
......@@ -365,8 +365,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "Tegel"
......@@ -384,8 +384,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 41.978599548339844,
"longitude": -87.90470123291016
"latitude": 41.977901458740234,
"longitude": -87.9030990600586
},
"iataCode": "ORD",
"name": "O Hare International"
......@@ -423,8 +423,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "Tegel"
......@@ -442,8 +442,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 41.978599548339844,
"longitude": -87.90470123291016
"latitude": 41.977901458740234,
"longitude": -87.9030990600586
},
"iataCode": "ORD",
"name": "O Hare International"
......
......@@ -18,8 +18,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 40.472198486328125,
"longitude": -3.5608301162719727
"latitude": 40.467899322509766,
"longitude": -3.5717599391937256
},
"iataCode": "MAD",
"name": "Madrid"
......@@ -37,8 +37,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "Berlin"
......@@ -73,8 +73,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 36.84389877319336,
"longitude": -2.369999885559082
"latitude": 36.8474006652832,
"longitude": -2.372109889984131
},
"iataCode": "LEI",
"name": "Almeria"
......@@ -92,8 +92,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 40.472198486328125,
"longitude": -3.5608301162719727
"latitude": 40.467899322509766,
"longitude": -3.5717599391937256
},
"iataCode": "MAD",
"name": "Madrid"
......@@ -128,8 +128,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 40.472198486328125,
"longitude": -3.5608301162719727
"latitude": 40.467899322509766,
"longitude": -3.5717599391937256
},
"iataCode": "MAD",
"name": "Madrid"
......@@ -147,8 +147,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 36.84389877319336,
"longitude": -2.369999885559082
"latitude": 36.8474006652832,
"longitude": -2.372109889984131
},
"iataCode": "LEI",
"name": "Almeria"
......@@ -182,8 +182,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "Berlin"
......@@ -201,8 +201,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 40.472198486328125,
"longitude": -3.5608301162719727
"latitude": 40.467899322509766,
"longitude": -3.5717599391937256
},
"iataCode": "MAD",
"name": "Madrid"
......
......@@ -16,8 +16,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 47.464698791503906,
"longitude": 8.549169540405273
"latitude": 47.45029830932617,
"longitude": 8.562230110168457
},
"iataCode": "ZRH",
"name": "Zürich"
......@@ -35,8 +35,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "Berlin"
......@@ -69,8 +69,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 52.55970001220703,
"longitude": 13.287799835205078
"latitude": 52.55390167236328,
"longitude": 13.29319953918457
},
"iataCode": "TXL",
"name": "Berlin"
......@@ -88,8 +88,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 47.464698791503906,
"longitude": 8.549169540405273
"latitude": 47.45029830932617,
"longitude": 8.562230110168457
},
"iataCode": "ZRH",
"name": "Zürich"
......
......@@ -32,8 +32,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 48.11029815673828,
"longitude": 16.569700241088867
"latitude": 48.120201110839844,
"longitude": 16.564300537109375
},
"iataCode": "VIE"
},
......
......@@ -17,8 +17,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 47.44889831542969,
"longitude": -122.30899810791016
"latitude": 47.4452018737793,
"longitude": -122.2969970703125
},
"iataCode": "SEA"
},
......@@ -35,8 +35,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 22.308900833129883,
"longitude": 113.91400146484375
"latitude": 22.315900802612305,
"longitude": 113.93699645996094
},
"iataCode": "HKG"
},
......@@ -74,8 +74,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 47.44889831542969,
"longitude": -122.30899810791016