What's the quickest route between antipodes using regularly scheduled transit?










12















I am raising this comment to a question: what's the fastest way to touch antipodes and then back. To allow for easier transit, allow 100km from the actual antipode so you don't need to hike into the middle of nowhere. Is it Auckland to Seville? Or Malaga? Shanghai to Concordia or so in Argentina?










share|improve this question



















  • 1





    I was just messing around, but if anyone wants to be really serious about this, there's data on antipodal airports here, including scripts that could generate a set of city pairs for investigation.

    – Zach Lipton
    Jun 2 '16 at 10:22






  • 1





    It turns out the fine folks at airliners.net were also interested in this question.

    – Zach Lipton
    Jun 2 '16 at 22:39















12















I am raising this comment to a question: what's the fastest way to touch antipodes and then back. To allow for easier transit, allow 100km from the actual antipode so you don't need to hike into the middle of nowhere. Is it Auckland to Seville? Or Malaga? Shanghai to Concordia or so in Argentina?










share|improve this question



















  • 1





    I was just messing around, but if anyone wants to be really serious about this, there's data on antipodal airports here, including scripts that could generate a set of city pairs for investigation.

    – Zach Lipton
    Jun 2 '16 at 10:22






  • 1





    It turns out the fine folks at airliners.net were also interested in this question.

    – Zach Lipton
    Jun 2 '16 at 22:39













12












12








12








I am raising this comment to a question: what's the fastest way to touch antipodes and then back. To allow for easier transit, allow 100km from the actual antipode so you don't need to hike into the middle of nowhere. Is it Auckland to Seville? Or Malaga? Shanghai to Concordia or so in Argentina?










share|improve this question
















I am raising this comment to a question: what's the fastest way to touch antipodes and then back. To allow for easier transit, allow 100km from the actual antipode so you don't need to hike into the middle of nowhere. Is it Auckland to Seville? Or Malaga? Shanghai to Concordia or so in Argentina?







air-travel public-transport factoids around-the-world






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:52









Community

1




1










asked Jun 2 '16 at 9:27









chxchx

38k483188




38k483188







  • 1





    I was just messing around, but if anyone wants to be really serious about this, there's data on antipodal airports here, including scripts that could generate a set of city pairs for investigation.

    – Zach Lipton
    Jun 2 '16 at 10:22






  • 1





    It turns out the fine folks at airliners.net were also interested in this question.

    – Zach Lipton
    Jun 2 '16 at 22:39












  • 1





    I was just messing around, but if anyone wants to be really serious about this, there's data on antipodal airports here, including scripts that could generate a set of city pairs for investigation.

    – Zach Lipton
    Jun 2 '16 at 10:22






  • 1





    It turns out the fine folks at airliners.net were also interested in this question.

    – Zach Lipton
    Jun 2 '16 at 22:39







1




1





I was just messing around, but if anyone wants to be really serious about this, there's data on antipodal airports here, including scripts that could generate a set of city pairs for investigation.

– Zach Lipton
Jun 2 '16 at 10:22





I was just messing around, but if anyone wants to be really serious about this, there's data on antipodal airports here, including scripts that could generate a set of city pairs for investigation.

– Zach Lipton
Jun 2 '16 at 10:22




1




1





It turns out the fine folks at airliners.net were also interested in this question.

– Zach Lipton
Jun 2 '16 at 22:39





It turns out the fine folks at airliners.net were also interested in this question.

– Zach Lipton
Jun 2 '16 at 22:39










2 Answers
2






active

oldest

votes


















12














So far...



Santiago, Chile-Xi'an, China. 26h5m. The antipode of the Santiago airport is just east of Zhen'an, China, which is barely within 100km of the Xi'an airport. Fly this itinerary with just one convenient layover in CDG and you're there.



I also like Aukland-Gibraltar (or Tangier or Malaga, though the flights seem fastest to GIB and their airport is far more fun), as the airports work within the 100km buffer (I found 31h55m to GIB via HKG and LHR).



Taipai-Asunción, Paraguay is a nice pair, but I can't get the flights under 34h5m through cursory searches.



Shanghai-Buenos Aires is awfully tempting given the potential for one-stop connections, but I can't make it work within the 100km and the ground transport is likely killer.






share|improve this answer























  • The title of the question seemed to imply one-way trips, while the body is asking more about round-trips. These are all one-way trips, round-trips are far less fun.

    – Zach Lipton
    Jun 2 '16 at 10:18











  • I'm also assuming this question means the fastest way between two antipodes, rather than the fastest trip around the world that involves two antipodes, as we can save thousands of miles this way.

    – Zach Lipton
    Jun 2 '16 at 10:35






  • 1





    The closest I got is Malaga to Auckland (not the other way around) is 26h 45m with two connections Munich and Singapore. Yours is a superb nice find!

    – chx
    Jun 2 '16 at 11:15











  • Also the Santiago-Xi'an route can be extended into a round trip within 72 hours. So the answer to the question I guess everyone had on their mind after reading this: did Around the World in 80 Days become Around the World in 80 Hours with planes? The answer is yes!

    – chx
    Jun 2 '16 at 19:34






  • 1





    @chx: One could argue that to go "around the world" with planes, one would need to return via a route that overflies the Pacific instead. If so, it does appear to be possible via Sydney: Hainan offers seasonal service from XIY–SYD, and both Qantas and LATAM Chile fly SYD–SCL. Not sure what the total duration would be, though.

    – Michael Seifert
    Jun 3 '16 at 13:26


















7














This isn't strictly a new answer (yet), but presents a dataset of antipodal airports someone might use to find a better route. Read on for the most antipodal airports and a shocking reveal about the Santiago-Xi'an route.



Continuing this exploration, I turn to the work of an a3nm, who previously engaged in some airport antipode-related tomfoolery. Using his pointer to the OpenFlights database (to whom all credit is given per their license), I can get datafiles for airports and air routes around the world.



First, I'll load the airport data into a PostgreSQL table using this procedure, and enable the table for PostGIS support so we can do spatial calculations.



We'll setup a couple of scratch columns, calculate the antipode for each airport, and convert that to a geometry (there's probably a better way to do this if you know what you're doing. A common theme here is that we don't, in fact, know what we're doing):



update airports set antipode_latitude = -latitude;
update airports set antipode_longitude = 180+longitude;
update airports set antipode_longitude = antipode_longitude-360 where antipode_longitude > 180;
update airports SET antipode = ST_SetSRID(ST_MakePoint(antipode_longitude,antipode_latitude),4326);


And sanity check the results based on some of the ones we already know about:



select airports.name, city, country, iata, ST_Distance_Sphere(airports.antipode, (select airports.geom from airports where iata='SCL')) as distance from airports order by distance limit 3;
Ankang Airport Ankang China AKA 80599.02914563
Xi\'An Xiguan Xi\'AN China SIA 109730.42018116
Xianyang Xi'an China XIY **124745.39283865**


Oh no! We've reveled a devastating truth about my previous answer. SCL-XIY is actually 24km too far to strictly qualify. This can probably be rectified by starting your journey a bit farther into Santiago or Xi'an and taking some kind of airport bus (which you'll have plenty of time to do if you're doing a 72-hour roundtrip), but it's a sad finding indeed.



select airports.name, city, country, iata, ST_Distance_Sphere(airports.antipode, (select airports.geom from airports where iata='AKL')) as distance from airports order by distance limit 5;
Ronda Airport Ronda Spain RRA 28932.88795948
Ronda Ronda Spain 30772.20555266
Moron Ab Sevilla Spain OZP 40636.98417791
Malaga Malaga Spain AGP 73182.10790714
Sevilla Sevilla Spain SVQ 75861.92508438


The good news is that the results seem sane. Now we can find the most antipodal airports, because why not? Let's continue our trend of using the database stupidly, because it's mildly easier, and create a duplicate scratch table so we can run the query across the two tables. We'll also limit our search to airports with IATA codes, to exclude most of the random train stations in the dataset and give us the best chance of finding airports with easy-to-find commercial service:



create table airports2 (like airports including all);
insert into airports2 select * from airports;

select airports.name, airports.city, airports.country, airports.iata, airports2.name, airports2.city, airports2.country, airports2.iata, st_distance_sphere(airports.antipode, airports2.geom) as distance from airports, airports2 where airports.geom && ST_Expand(airports2.antipode, 25) and airports.iata <> '' and airports2.iata <> '' order by ST_DISTANCE(airports.geom, airports2.antipode) asc limit 1;
Sultan Mahmud Badaruddin Ii Palembang Indonesia PLM Benito Salas Neiva Colombia NVA 5810.60702928


And sure enough, PLM and NVA are quite close:



PLM and NVA antipodes map



If you're curious, and I know you are, PLM and NVA still win even if you remove the restriction that airports have IATA codes.



Now we'll query for all antipodal airports (with IATA codes) within the 100km range, trim every other entry since they're matched pairs, and produce a data file listing 366 candidate city-pairs to investigate. We can also do a slightly bigger set if we relax the 100km limit a hair and figure we can always walk a bit if nothing else.



select airports.name, airports.city, airports.country, airports.iata, airports2.name, airports2.city, airports2.country, airports2.iata, st_distance_sphere(airports.antipode, airports2.geom) as error from airports, airports2 where airports.geom && ST_Expand(airports2.antipode, 25) and airports.iata <> '' and airports2.iata <> '' order by ST_DISTANCE_sphere(airports.antipode, airports2.geom) asc limit 1000;


In our next installment, we'll see if we can find a faster route.






share|improve this answer























  • Well, PLM and NVA are apparently very minor airports and just the flight times between the two would take more than 72 hours round trip. But I am excited about your findings!

    – chx
    Jun 2 '16 at 23:40










Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "273"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftravel.stackexchange.com%2fquestions%2f69530%2fwhats-the-quickest-route-between-antipodes-using-regularly-scheduled-transit%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









12














So far...



Santiago, Chile-Xi'an, China. 26h5m. The antipode of the Santiago airport is just east of Zhen'an, China, which is barely within 100km of the Xi'an airport. Fly this itinerary with just one convenient layover in CDG and you're there.



I also like Aukland-Gibraltar (or Tangier or Malaga, though the flights seem fastest to GIB and their airport is far more fun), as the airports work within the 100km buffer (I found 31h55m to GIB via HKG and LHR).



Taipai-Asunción, Paraguay is a nice pair, but I can't get the flights under 34h5m through cursory searches.



Shanghai-Buenos Aires is awfully tempting given the potential for one-stop connections, but I can't make it work within the 100km and the ground transport is likely killer.






share|improve this answer























  • The title of the question seemed to imply one-way trips, while the body is asking more about round-trips. These are all one-way trips, round-trips are far less fun.

    – Zach Lipton
    Jun 2 '16 at 10:18











  • I'm also assuming this question means the fastest way between two antipodes, rather than the fastest trip around the world that involves two antipodes, as we can save thousands of miles this way.

    – Zach Lipton
    Jun 2 '16 at 10:35






  • 1





    The closest I got is Malaga to Auckland (not the other way around) is 26h 45m with two connections Munich and Singapore. Yours is a superb nice find!

    – chx
    Jun 2 '16 at 11:15











  • Also the Santiago-Xi'an route can be extended into a round trip within 72 hours. So the answer to the question I guess everyone had on their mind after reading this: did Around the World in 80 Days become Around the World in 80 Hours with planes? The answer is yes!

    – chx
    Jun 2 '16 at 19:34






  • 1





    @chx: One could argue that to go "around the world" with planes, one would need to return via a route that overflies the Pacific instead. If so, it does appear to be possible via Sydney: Hainan offers seasonal service from XIY–SYD, and both Qantas and LATAM Chile fly SYD–SCL. Not sure what the total duration would be, though.

    – Michael Seifert
    Jun 3 '16 at 13:26















12














So far...



Santiago, Chile-Xi'an, China. 26h5m. The antipode of the Santiago airport is just east of Zhen'an, China, which is barely within 100km of the Xi'an airport. Fly this itinerary with just one convenient layover in CDG and you're there.



I also like Aukland-Gibraltar (or Tangier or Malaga, though the flights seem fastest to GIB and their airport is far more fun), as the airports work within the 100km buffer (I found 31h55m to GIB via HKG and LHR).



Taipai-Asunción, Paraguay is a nice pair, but I can't get the flights under 34h5m through cursory searches.



Shanghai-Buenos Aires is awfully tempting given the potential for one-stop connections, but I can't make it work within the 100km and the ground transport is likely killer.






share|improve this answer























  • The title of the question seemed to imply one-way trips, while the body is asking more about round-trips. These are all one-way trips, round-trips are far less fun.

    – Zach Lipton
    Jun 2 '16 at 10:18











  • I'm also assuming this question means the fastest way between two antipodes, rather than the fastest trip around the world that involves two antipodes, as we can save thousands of miles this way.

    – Zach Lipton
    Jun 2 '16 at 10:35






  • 1





    The closest I got is Malaga to Auckland (not the other way around) is 26h 45m with two connections Munich and Singapore. Yours is a superb nice find!

    – chx
    Jun 2 '16 at 11:15











  • Also the Santiago-Xi'an route can be extended into a round trip within 72 hours. So the answer to the question I guess everyone had on their mind after reading this: did Around the World in 80 Days become Around the World in 80 Hours with planes? The answer is yes!

    – chx
    Jun 2 '16 at 19:34






  • 1





    @chx: One could argue that to go "around the world" with planes, one would need to return via a route that overflies the Pacific instead. If so, it does appear to be possible via Sydney: Hainan offers seasonal service from XIY–SYD, and both Qantas and LATAM Chile fly SYD–SCL. Not sure what the total duration would be, though.

    – Michael Seifert
    Jun 3 '16 at 13:26













12












12








12







So far...



Santiago, Chile-Xi'an, China. 26h5m. The antipode of the Santiago airport is just east of Zhen'an, China, which is barely within 100km of the Xi'an airport. Fly this itinerary with just one convenient layover in CDG and you're there.



I also like Aukland-Gibraltar (or Tangier or Malaga, though the flights seem fastest to GIB and their airport is far more fun), as the airports work within the 100km buffer (I found 31h55m to GIB via HKG and LHR).



Taipai-Asunción, Paraguay is a nice pair, but I can't get the flights under 34h5m through cursory searches.



Shanghai-Buenos Aires is awfully tempting given the potential for one-stop connections, but I can't make it work within the 100km and the ground transport is likely killer.






share|improve this answer













So far...



Santiago, Chile-Xi'an, China. 26h5m. The antipode of the Santiago airport is just east of Zhen'an, China, which is barely within 100km of the Xi'an airport. Fly this itinerary with just one convenient layover in CDG and you're there.



I also like Aukland-Gibraltar (or Tangier or Malaga, though the flights seem fastest to GIB and their airport is far more fun), as the airports work within the 100km buffer (I found 31h55m to GIB via HKG and LHR).



Taipai-Asunción, Paraguay is a nice pair, but I can't get the flights under 34h5m through cursory searches.



Shanghai-Buenos Aires is awfully tempting given the potential for one-stop connections, but I can't make it work within the 100km and the ground transport is likely killer.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jun 2 '16 at 10:14









Zach LiptonZach Lipton

61.4k11187246




61.4k11187246












  • The title of the question seemed to imply one-way trips, while the body is asking more about round-trips. These are all one-way trips, round-trips are far less fun.

    – Zach Lipton
    Jun 2 '16 at 10:18











  • I'm also assuming this question means the fastest way between two antipodes, rather than the fastest trip around the world that involves two antipodes, as we can save thousands of miles this way.

    – Zach Lipton
    Jun 2 '16 at 10:35






  • 1





    The closest I got is Malaga to Auckland (not the other way around) is 26h 45m with two connections Munich and Singapore. Yours is a superb nice find!

    – chx
    Jun 2 '16 at 11:15











  • Also the Santiago-Xi'an route can be extended into a round trip within 72 hours. So the answer to the question I guess everyone had on their mind after reading this: did Around the World in 80 Days become Around the World in 80 Hours with planes? The answer is yes!

    – chx
    Jun 2 '16 at 19:34






  • 1





    @chx: One could argue that to go "around the world" with planes, one would need to return via a route that overflies the Pacific instead. If so, it does appear to be possible via Sydney: Hainan offers seasonal service from XIY–SYD, and both Qantas and LATAM Chile fly SYD–SCL. Not sure what the total duration would be, though.

    – Michael Seifert
    Jun 3 '16 at 13:26

















  • The title of the question seemed to imply one-way trips, while the body is asking more about round-trips. These are all one-way trips, round-trips are far less fun.

    – Zach Lipton
    Jun 2 '16 at 10:18











  • I'm also assuming this question means the fastest way between two antipodes, rather than the fastest trip around the world that involves two antipodes, as we can save thousands of miles this way.

    – Zach Lipton
    Jun 2 '16 at 10:35






  • 1





    The closest I got is Malaga to Auckland (not the other way around) is 26h 45m with two connections Munich and Singapore. Yours is a superb nice find!

    – chx
    Jun 2 '16 at 11:15











  • Also the Santiago-Xi'an route can be extended into a round trip within 72 hours. So the answer to the question I guess everyone had on their mind after reading this: did Around the World in 80 Days become Around the World in 80 Hours with planes? The answer is yes!

    – chx
    Jun 2 '16 at 19:34






  • 1





    @chx: One could argue that to go "around the world" with planes, one would need to return via a route that overflies the Pacific instead. If so, it does appear to be possible via Sydney: Hainan offers seasonal service from XIY–SYD, and both Qantas and LATAM Chile fly SYD–SCL. Not sure what the total duration would be, though.

    – Michael Seifert
    Jun 3 '16 at 13:26
















The title of the question seemed to imply one-way trips, while the body is asking more about round-trips. These are all one-way trips, round-trips are far less fun.

– Zach Lipton
Jun 2 '16 at 10:18





The title of the question seemed to imply one-way trips, while the body is asking more about round-trips. These are all one-way trips, round-trips are far less fun.

– Zach Lipton
Jun 2 '16 at 10:18













I'm also assuming this question means the fastest way between two antipodes, rather than the fastest trip around the world that involves two antipodes, as we can save thousands of miles this way.

– Zach Lipton
Jun 2 '16 at 10:35





I'm also assuming this question means the fastest way between two antipodes, rather than the fastest trip around the world that involves two antipodes, as we can save thousands of miles this way.

– Zach Lipton
Jun 2 '16 at 10:35




1




1





The closest I got is Malaga to Auckland (not the other way around) is 26h 45m with two connections Munich and Singapore. Yours is a superb nice find!

– chx
Jun 2 '16 at 11:15





The closest I got is Malaga to Auckland (not the other way around) is 26h 45m with two connections Munich and Singapore. Yours is a superb nice find!

– chx
Jun 2 '16 at 11:15













Also the Santiago-Xi'an route can be extended into a round trip within 72 hours. So the answer to the question I guess everyone had on their mind after reading this: did Around the World in 80 Days become Around the World in 80 Hours with planes? The answer is yes!

– chx
Jun 2 '16 at 19:34





Also the Santiago-Xi'an route can be extended into a round trip within 72 hours. So the answer to the question I guess everyone had on their mind after reading this: did Around the World in 80 Days become Around the World in 80 Hours with planes? The answer is yes!

– chx
Jun 2 '16 at 19:34




1




1





@chx: One could argue that to go "around the world" with planes, one would need to return via a route that overflies the Pacific instead. If so, it does appear to be possible via Sydney: Hainan offers seasonal service from XIY–SYD, and both Qantas and LATAM Chile fly SYD–SCL. Not sure what the total duration would be, though.

– Michael Seifert
Jun 3 '16 at 13:26





@chx: One could argue that to go "around the world" with planes, one would need to return via a route that overflies the Pacific instead. If so, it does appear to be possible via Sydney: Hainan offers seasonal service from XIY–SYD, and both Qantas and LATAM Chile fly SYD–SCL. Not sure what the total duration would be, though.

– Michael Seifert
Jun 3 '16 at 13:26













7














This isn't strictly a new answer (yet), but presents a dataset of antipodal airports someone might use to find a better route. Read on for the most antipodal airports and a shocking reveal about the Santiago-Xi'an route.



Continuing this exploration, I turn to the work of an a3nm, who previously engaged in some airport antipode-related tomfoolery. Using his pointer to the OpenFlights database (to whom all credit is given per their license), I can get datafiles for airports and air routes around the world.



First, I'll load the airport data into a PostgreSQL table using this procedure, and enable the table for PostGIS support so we can do spatial calculations.



We'll setup a couple of scratch columns, calculate the antipode for each airport, and convert that to a geometry (there's probably a better way to do this if you know what you're doing. A common theme here is that we don't, in fact, know what we're doing):



update airports set antipode_latitude = -latitude;
update airports set antipode_longitude = 180+longitude;
update airports set antipode_longitude = antipode_longitude-360 where antipode_longitude > 180;
update airports SET antipode = ST_SetSRID(ST_MakePoint(antipode_longitude,antipode_latitude),4326);


And sanity check the results based on some of the ones we already know about:



select airports.name, city, country, iata, ST_Distance_Sphere(airports.antipode, (select airports.geom from airports where iata='SCL')) as distance from airports order by distance limit 3;
Ankang Airport Ankang China AKA 80599.02914563
Xi\'An Xiguan Xi\'AN China SIA 109730.42018116
Xianyang Xi'an China XIY **124745.39283865**


Oh no! We've reveled a devastating truth about my previous answer. SCL-XIY is actually 24km too far to strictly qualify. This can probably be rectified by starting your journey a bit farther into Santiago or Xi'an and taking some kind of airport bus (which you'll have plenty of time to do if you're doing a 72-hour roundtrip), but it's a sad finding indeed.



select airports.name, city, country, iata, ST_Distance_Sphere(airports.antipode, (select airports.geom from airports where iata='AKL')) as distance from airports order by distance limit 5;
Ronda Airport Ronda Spain RRA 28932.88795948
Ronda Ronda Spain 30772.20555266
Moron Ab Sevilla Spain OZP 40636.98417791
Malaga Malaga Spain AGP 73182.10790714
Sevilla Sevilla Spain SVQ 75861.92508438


The good news is that the results seem sane. Now we can find the most antipodal airports, because why not? Let's continue our trend of using the database stupidly, because it's mildly easier, and create a duplicate scratch table so we can run the query across the two tables. We'll also limit our search to airports with IATA codes, to exclude most of the random train stations in the dataset and give us the best chance of finding airports with easy-to-find commercial service:



create table airports2 (like airports including all);
insert into airports2 select * from airports;

select airports.name, airports.city, airports.country, airports.iata, airports2.name, airports2.city, airports2.country, airports2.iata, st_distance_sphere(airports.antipode, airports2.geom) as distance from airports, airports2 where airports.geom && ST_Expand(airports2.antipode, 25) and airports.iata <> '' and airports2.iata <> '' order by ST_DISTANCE(airports.geom, airports2.antipode) asc limit 1;
Sultan Mahmud Badaruddin Ii Palembang Indonesia PLM Benito Salas Neiva Colombia NVA 5810.60702928


And sure enough, PLM and NVA are quite close:



PLM and NVA antipodes map



If you're curious, and I know you are, PLM and NVA still win even if you remove the restriction that airports have IATA codes.



Now we'll query for all antipodal airports (with IATA codes) within the 100km range, trim every other entry since they're matched pairs, and produce a data file listing 366 candidate city-pairs to investigate. We can also do a slightly bigger set if we relax the 100km limit a hair and figure we can always walk a bit if nothing else.



select airports.name, airports.city, airports.country, airports.iata, airports2.name, airports2.city, airports2.country, airports2.iata, st_distance_sphere(airports.antipode, airports2.geom) as error from airports, airports2 where airports.geom && ST_Expand(airports2.antipode, 25) and airports.iata <> '' and airports2.iata <> '' order by ST_DISTANCE_sphere(airports.antipode, airports2.geom) asc limit 1000;


In our next installment, we'll see if we can find a faster route.






share|improve this answer























  • Well, PLM and NVA are apparently very minor airports and just the flight times between the two would take more than 72 hours round trip. But I am excited about your findings!

    – chx
    Jun 2 '16 at 23:40















7














This isn't strictly a new answer (yet), but presents a dataset of antipodal airports someone might use to find a better route. Read on for the most antipodal airports and a shocking reveal about the Santiago-Xi'an route.



Continuing this exploration, I turn to the work of an a3nm, who previously engaged in some airport antipode-related tomfoolery. Using his pointer to the OpenFlights database (to whom all credit is given per their license), I can get datafiles for airports and air routes around the world.



First, I'll load the airport data into a PostgreSQL table using this procedure, and enable the table for PostGIS support so we can do spatial calculations.



We'll setup a couple of scratch columns, calculate the antipode for each airport, and convert that to a geometry (there's probably a better way to do this if you know what you're doing. A common theme here is that we don't, in fact, know what we're doing):



update airports set antipode_latitude = -latitude;
update airports set antipode_longitude = 180+longitude;
update airports set antipode_longitude = antipode_longitude-360 where antipode_longitude > 180;
update airports SET antipode = ST_SetSRID(ST_MakePoint(antipode_longitude,antipode_latitude),4326);


And sanity check the results based on some of the ones we already know about:



select airports.name, city, country, iata, ST_Distance_Sphere(airports.antipode, (select airports.geom from airports where iata='SCL')) as distance from airports order by distance limit 3;
Ankang Airport Ankang China AKA 80599.02914563
Xi\'An Xiguan Xi\'AN China SIA 109730.42018116
Xianyang Xi'an China XIY **124745.39283865**


Oh no! We've reveled a devastating truth about my previous answer. SCL-XIY is actually 24km too far to strictly qualify. This can probably be rectified by starting your journey a bit farther into Santiago or Xi'an and taking some kind of airport bus (which you'll have plenty of time to do if you're doing a 72-hour roundtrip), but it's a sad finding indeed.



select airports.name, city, country, iata, ST_Distance_Sphere(airports.antipode, (select airports.geom from airports where iata='AKL')) as distance from airports order by distance limit 5;
Ronda Airport Ronda Spain RRA 28932.88795948
Ronda Ronda Spain 30772.20555266
Moron Ab Sevilla Spain OZP 40636.98417791
Malaga Malaga Spain AGP 73182.10790714
Sevilla Sevilla Spain SVQ 75861.92508438


The good news is that the results seem sane. Now we can find the most antipodal airports, because why not? Let's continue our trend of using the database stupidly, because it's mildly easier, and create a duplicate scratch table so we can run the query across the two tables. We'll also limit our search to airports with IATA codes, to exclude most of the random train stations in the dataset and give us the best chance of finding airports with easy-to-find commercial service:



create table airports2 (like airports including all);
insert into airports2 select * from airports;

select airports.name, airports.city, airports.country, airports.iata, airports2.name, airports2.city, airports2.country, airports2.iata, st_distance_sphere(airports.antipode, airports2.geom) as distance from airports, airports2 where airports.geom && ST_Expand(airports2.antipode, 25) and airports.iata <> '' and airports2.iata <> '' order by ST_DISTANCE(airports.geom, airports2.antipode) asc limit 1;
Sultan Mahmud Badaruddin Ii Palembang Indonesia PLM Benito Salas Neiva Colombia NVA 5810.60702928


And sure enough, PLM and NVA are quite close:



PLM and NVA antipodes map



If you're curious, and I know you are, PLM and NVA still win even if you remove the restriction that airports have IATA codes.



Now we'll query for all antipodal airports (with IATA codes) within the 100km range, trim every other entry since they're matched pairs, and produce a data file listing 366 candidate city-pairs to investigate. We can also do a slightly bigger set if we relax the 100km limit a hair and figure we can always walk a bit if nothing else.



select airports.name, airports.city, airports.country, airports.iata, airports2.name, airports2.city, airports2.country, airports2.iata, st_distance_sphere(airports.antipode, airports2.geom) as error from airports, airports2 where airports.geom && ST_Expand(airports2.antipode, 25) and airports.iata <> '' and airports2.iata <> '' order by ST_DISTANCE_sphere(airports.antipode, airports2.geom) asc limit 1000;


In our next installment, we'll see if we can find a faster route.






share|improve this answer























  • Well, PLM and NVA are apparently very minor airports and just the flight times between the two would take more than 72 hours round trip. But I am excited about your findings!

    – chx
    Jun 2 '16 at 23:40













7












7








7







This isn't strictly a new answer (yet), but presents a dataset of antipodal airports someone might use to find a better route. Read on for the most antipodal airports and a shocking reveal about the Santiago-Xi'an route.



Continuing this exploration, I turn to the work of an a3nm, who previously engaged in some airport antipode-related tomfoolery. Using his pointer to the OpenFlights database (to whom all credit is given per their license), I can get datafiles for airports and air routes around the world.



First, I'll load the airport data into a PostgreSQL table using this procedure, and enable the table for PostGIS support so we can do spatial calculations.



We'll setup a couple of scratch columns, calculate the antipode for each airport, and convert that to a geometry (there's probably a better way to do this if you know what you're doing. A common theme here is that we don't, in fact, know what we're doing):



update airports set antipode_latitude = -latitude;
update airports set antipode_longitude = 180+longitude;
update airports set antipode_longitude = antipode_longitude-360 where antipode_longitude > 180;
update airports SET antipode = ST_SetSRID(ST_MakePoint(antipode_longitude,antipode_latitude),4326);


And sanity check the results based on some of the ones we already know about:



select airports.name, city, country, iata, ST_Distance_Sphere(airports.antipode, (select airports.geom from airports where iata='SCL')) as distance from airports order by distance limit 3;
Ankang Airport Ankang China AKA 80599.02914563
Xi\'An Xiguan Xi\'AN China SIA 109730.42018116
Xianyang Xi'an China XIY **124745.39283865**


Oh no! We've reveled a devastating truth about my previous answer. SCL-XIY is actually 24km too far to strictly qualify. This can probably be rectified by starting your journey a bit farther into Santiago or Xi'an and taking some kind of airport bus (which you'll have plenty of time to do if you're doing a 72-hour roundtrip), but it's a sad finding indeed.



select airports.name, city, country, iata, ST_Distance_Sphere(airports.antipode, (select airports.geom from airports where iata='AKL')) as distance from airports order by distance limit 5;
Ronda Airport Ronda Spain RRA 28932.88795948
Ronda Ronda Spain 30772.20555266
Moron Ab Sevilla Spain OZP 40636.98417791
Malaga Malaga Spain AGP 73182.10790714
Sevilla Sevilla Spain SVQ 75861.92508438


The good news is that the results seem sane. Now we can find the most antipodal airports, because why not? Let's continue our trend of using the database stupidly, because it's mildly easier, and create a duplicate scratch table so we can run the query across the two tables. We'll also limit our search to airports with IATA codes, to exclude most of the random train stations in the dataset and give us the best chance of finding airports with easy-to-find commercial service:



create table airports2 (like airports including all);
insert into airports2 select * from airports;

select airports.name, airports.city, airports.country, airports.iata, airports2.name, airports2.city, airports2.country, airports2.iata, st_distance_sphere(airports.antipode, airports2.geom) as distance from airports, airports2 where airports.geom && ST_Expand(airports2.antipode, 25) and airports.iata <> '' and airports2.iata <> '' order by ST_DISTANCE(airports.geom, airports2.antipode) asc limit 1;
Sultan Mahmud Badaruddin Ii Palembang Indonesia PLM Benito Salas Neiva Colombia NVA 5810.60702928


And sure enough, PLM and NVA are quite close:



PLM and NVA antipodes map



If you're curious, and I know you are, PLM and NVA still win even if you remove the restriction that airports have IATA codes.



Now we'll query for all antipodal airports (with IATA codes) within the 100km range, trim every other entry since they're matched pairs, and produce a data file listing 366 candidate city-pairs to investigate. We can also do a slightly bigger set if we relax the 100km limit a hair and figure we can always walk a bit if nothing else.



select airports.name, airports.city, airports.country, airports.iata, airports2.name, airports2.city, airports2.country, airports2.iata, st_distance_sphere(airports.antipode, airports2.geom) as error from airports, airports2 where airports.geom && ST_Expand(airports2.antipode, 25) and airports.iata <> '' and airports2.iata <> '' order by ST_DISTANCE_sphere(airports.antipode, airports2.geom) asc limit 1000;


In our next installment, we'll see if we can find a faster route.






share|improve this answer













This isn't strictly a new answer (yet), but presents a dataset of antipodal airports someone might use to find a better route. Read on for the most antipodal airports and a shocking reveal about the Santiago-Xi'an route.



Continuing this exploration, I turn to the work of an a3nm, who previously engaged in some airport antipode-related tomfoolery. Using his pointer to the OpenFlights database (to whom all credit is given per their license), I can get datafiles for airports and air routes around the world.



First, I'll load the airport data into a PostgreSQL table using this procedure, and enable the table for PostGIS support so we can do spatial calculations.



We'll setup a couple of scratch columns, calculate the antipode for each airport, and convert that to a geometry (there's probably a better way to do this if you know what you're doing. A common theme here is that we don't, in fact, know what we're doing):



update airports set antipode_latitude = -latitude;
update airports set antipode_longitude = 180+longitude;
update airports set antipode_longitude = antipode_longitude-360 where antipode_longitude > 180;
update airports SET antipode = ST_SetSRID(ST_MakePoint(antipode_longitude,antipode_latitude),4326);


And sanity check the results based on some of the ones we already know about:



select airports.name, city, country, iata, ST_Distance_Sphere(airports.antipode, (select airports.geom from airports where iata='SCL')) as distance from airports order by distance limit 3;
Ankang Airport Ankang China AKA 80599.02914563
Xi\'An Xiguan Xi\'AN China SIA 109730.42018116
Xianyang Xi'an China XIY **124745.39283865**


Oh no! We've reveled a devastating truth about my previous answer. SCL-XIY is actually 24km too far to strictly qualify. This can probably be rectified by starting your journey a bit farther into Santiago or Xi'an and taking some kind of airport bus (which you'll have plenty of time to do if you're doing a 72-hour roundtrip), but it's a sad finding indeed.



select airports.name, city, country, iata, ST_Distance_Sphere(airports.antipode, (select airports.geom from airports where iata='AKL')) as distance from airports order by distance limit 5;
Ronda Airport Ronda Spain RRA 28932.88795948
Ronda Ronda Spain 30772.20555266
Moron Ab Sevilla Spain OZP 40636.98417791
Malaga Malaga Spain AGP 73182.10790714
Sevilla Sevilla Spain SVQ 75861.92508438


The good news is that the results seem sane. Now we can find the most antipodal airports, because why not? Let's continue our trend of using the database stupidly, because it's mildly easier, and create a duplicate scratch table so we can run the query across the two tables. We'll also limit our search to airports with IATA codes, to exclude most of the random train stations in the dataset and give us the best chance of finding airports with easy-to-find commercial service:



create table airports2 (like airports including all);
insert into airports2 select * from airports;

select airports.name, airports.city, airports.country, airports.iata, airports2.name, airports2.city, airports2.country, airports2.iata, st_distance_sphere(airports.antipode, airports2.geom) as distance from airports, airports2 where airports.geom && ST_Expand(airports2.antipode, 25) and airports.iata <> '' and airports2.iata <> '' order by ST_DISTANCE(airports.geom, airports2.antipode) asc limit 1;
Sultan Mahmud Badaruddin Ii Palembang Indonesia PLM Benito Salas Neiva Colombia NVA 5810.60702928


And sure enough, PLM and NVA are quite close:



PLM and NVA antipodes map



If you're curious, and I know you are, PLM and NVA still win even if you remove the restriction that airports have IATA codes.



Now we'll query for all antipodal airports (with IATA codes) within the 100km range, trim every other entry since they're matched pairs, and produce a data file listing 366 candidate city-pairs to investigate. We can also do a slightly bigger set if we relax the 100km limit a hair and figure we can always walk a bit if nothing else.



select airports.name, airports.city, airports.country, airports.iata, airports2.name, airports2.city, airports2.country, airports2.iata, st_distance_sphere(airports.antipode, airports2.geom) as error from airports, airports2 where airports.geom && ST_Expand(airports2.antipode, 25) and airports.iata <> '' and airports2.iata <> '' order by ST_DISTANCE_sphere(airports.antipode, airports2.geom) asc limit 1000;


In our next installment, we'll see if we can find a faster route.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jun 2 '16 at 23:27









Zach LiptonZach Lipton

61.4k11187246




61.4k11187246












  • Well, PLM and NVA are apparently very minor airports and just the flight times between the two would take more than 72 hours round trip. But I am excited about your findings!

    – chx
    Jun 2 '16 at 23:40

















  • Well, PLM and NVA are apparently very minor airports and just the flight times between the two would take more than 72 hours round trip. But I am excited about your findings!

    – chx
    Jun 2 '16 at 23:40
















Well, PLM and NVA are apparently very minor airports and just the flight times between the two would take more than 72 hours round trip. But I am excited about your findings!

– chx
Jun 2 '16 at 23:40





Well, PLM and NVA are apparently very minor airports and just the flight times between the two would take more than 72 hours round trip. But I am excited about your findings!

– chx
Jun 2 '16 at 23:40

















draft saved

draft discarded
















































Thanks for contributing an answer to Travel Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftravel.stackexchange.com%2fquestions%2f69530%2fwhats-the-quickest-route-between-antipodes-using-regularly-scheduled-transit%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)