TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Airport Locations from Around the World

87 pointsby ArashPartowover 7 years ago

13 comments

phsourceover 7 years ago
I can&#x27;t stress just how important (and how hard) it is to get a great source of data for airports, so kudos on the work! When building All the Flight Deals (<a href="https:&#x2F;&#x2F;alltheflightdeals.com" rel="nofollow">https:&#x2F;&#x2F;alltheflightdeals.com</a>) and BookWithMatrix (<a href="https:&#x2F;&#x2F;bookwithmatrix.com" rel="nofollow">https:&#x2F;&#x2F;bookwithmatrix.com</a>), airport data was essential.<p>It seems like your database covers the basics! However, timezone data and airport type&#x2F;size were pretty important information for us, so we ended up getting these from:<p>- OpenFlights [1]: this dataset was great since it had timezone too, which was really helpful for calculating flight lengths, etc.<p>- OurAirports [2]: no timezone here, but the &quot;type&quot; and &quot;scheduled_service&quot; columns in this dataset are essential. &quot;Type&quot; lets you distinguish between small&#x2F;medium&#x2F;large airports, and &quot;scheduled_service&quot; lets you easily filter out airports without real flights (which you often might not care about).<p>- IATA tzmap [3]: this was used for filling in timezone data and is derived from the Geonames database.<p>- Random other GitHub Gist [4]: I have no idea where this data comes from, but it was surprisingly complete and has a few golden nuggets like &quot;num_flights&quot; and &quot;runway_length&quot; in addition to &quot;timezone&quot;. The presence of a &quot;woeid&quot; suggests Yahoo-related origins, but it&#x27;s hard to be sure.<p>Long story short, it&#x27;d be AWESOME to have one complete, updated database with all this data in one place, but part of the struggle is definitely having more data than just longitude&#x2F;latitude.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;jpatokal&#x2F;openflights&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jpatokal&#x2F;openflights&#x2F;</a><p>[2] <a href="http:&#x2F;&#x2F;ourairports.com&#x2F;data&#x2F;" rel="nofollow">http:&#x2F;&#x2F;ourairports.com&#x2F;data&#x2F;</a><p>[3] <a href="https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;hroptatyr&#x2F;dateutils&#x2F;tzmaps&#x2F;iata.tzmap;" rel="nofollow">https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;hroptatyr&#x2F;dateutils&#x2F;tzmaps...</a> <a href="http:&#x2F;&#x2F;download.geonames.org&#x2F;export&#x2F;dump&#x2F;" rel="nofollow">http:&#x2F;&#x2F;download.geonames.org&#x2F;export&#x2F;dump&#x2F;</a><p>[4] <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;tdreyno&#x2F;4278655" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;tdreyno&#x2F;4278655</a>
评论 #15795832 未加载
评论 #15795503 未加载
评论 #15795809 未加载
评论 #15796091 未加载
评论 #15798796 未加载
评论 #15796624 未加载
FabHKover 7 years ago
This is a small sample of airports; would be interesting to know how they were selected.<p>&gt; airports big and small from all around the world<p>Well, presumably mostly big.<p>The CIA Facebook shows 13500 airports for the USA alone, and 6 countries with more than 1000 [0]. So, when you count smaller airports (potentially untowered, or unpaved runways), there is way more than what&#x27;s listed here.<p>Most countries (ICAO members) maintain an AIP (Aeronautical Information Publication, [1]) which lists the bigger airports in a country (and definitely the international ones with immigration and customs facilities) in part AD (aerodromes) and is often readily downloadable from the pertinent national civil aviation authority [2].<p>However, information on smaller airfields is often quite hard to come by.<p>I&#x27;ve flown small airplanes around in southern Africa and Thailand, and relied on websites, books, and aviation clubs to find coordinates for airfields. See eg. the <i>Airfields Directory of Southern Africa</i> [3] or Tom Claytor&#x27;s list at the bottom of the Thai Flying Club website [4].<p>[0] <a href="https:&#x2F;&#x2F;www.cia.gov&#x2F;library&#x2F;publications&#x2F;the-world-factbook&#x2F;rankorder&#x2F;2053rank.html" rel="nofollow">https:&#x2F;&#x2F;www.cia.gov&#x2F;library&#x2F;publications&#x2F;the-world-factbook&#x2F;...</a><p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Aeronautical_Information_Publication" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Aeronautical_Information_Publi...</a><p>[2] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;List_of_civil_aviation_authorities" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;List_of_civil_aviation_authori...</a><p>[3] <a href="http:&#x2F;&#x2F;www.cometaviationsupplies.co.za&#x2F;index.php?route=product&#x2F;product&amp;product_id=969" rel="nofollow">http:&#x2F;&#x2F;www.cometaviationsupplies.co.za&#x2F;index.php?route=produ...</a><p>[4] <a href="http:&#x2F;&#x2F;www.thaiflyingclub.com" rel="nofollow">http:&#x2F;&#x2F;www.thaiflyingclub.com</a><p>EDIT: typos, clarity
评论 #15796329 未加载
skunover 7 years ago
Had some time today so put together a .Net client for this data [0][1] in case anyone is interested.<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;shrayasr&#x2F;GlobalAirports.Net" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;shrayasr&#x2F;GlobalAirports.Net</a> [1]: <a href="https:&#x2F;&#x2F;www.nuget.org&#x2F;packages&#x2F;GlobalAirports.Net" rel="nofollow">https:&#x2F;&#x2F;www.nuget.org&#x2F;packages&#x2F;GlobalAirports.Net</a>
jkaover 7 years ago
OpenFlights also has great data[0] here - and not just for airports, but also train stations, airline&#x2F;carrier codes, and routes (i.e. origin&#x2F;destination pairs with a carrier).<p>No sign of schedules from them yet, but there&#x27;s been a request-for-interest on the site regarding those for a few years now.<p>[0] - <a href="https:&#x2F;&#x2F;openflights.org&#x2F;data.html" rel="nofollow">https:&#x2F;&#x2F;openflights.org&#x2F;data.html</a>
评论 #15795523 未加载
edshiroover 7 years ago
Great stuff! I was working on a project where we needed a database of all airports around the world. I used <a href="http:&#x2F;&#x2F;ourairports.com&#x2F;data&#x2F;" rel="nofollow">http:&#x2F;&#x2F;ourairports.com&#x2F;data&#x2F;</a> IIRC. Out of curiosity, what&#x27;s different in your project? Also, would be good to add the type of airport (e.g. airfield, airport, etc.).<p>Best of luck!
评论 #15795530 未加载
vojnovskiover 7 years ago
Opentraveldata (<a href="https:&#x2F;&#x2F;github.com&#x2F;opentraveldata&#x2F;opentraveldata" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;opentraveldata&#x2F;opentraveldata</a>) is generally a great source for travel related data, based mostly on Geobases and Wikipedia. Its OAG extract is a bit old, but all airport data (and more) can be found in <a href="https:&#x2F;&#x2F;github.com&#x2F;opentraveldata&#x2F;opentraveldata&#x2F;blob&#x2F;master&#x2F;opentraveldata&#x2F;optd_por_public.csv" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;opentraveldata&#x2F;opentraveldata&#x2F;blob&#x2F;master...</a>, which is refreshed on an almost daily basis. There are other data sources in the same folder.<p>Also, <a href="https:&#x2F;&#x2F;github.com&#x2F;opentraveldata&#x2F;geobases" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;opentraveldata&#x2F;geobases</a> is a fun way to play around with Geonames&#x2F;Optd data.
carl_drover 7 years ago
From your site, &quot;Two closest airports: At 370m apart are the Horsching International Airport and Linz Aiports in Austria.&quot;<p>From Wikipedia, &quot;Linz Airport, also known as Blue Danube Airport Linz and formerly Hörsching Airport&quot;<p>Are you sure they aren&#x27;t one and the same?
partycoderover 7 years ago
I think China has more airports than the ones listed in the site.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;List_of_airports_in_China#&#x2F;media&#x2F;File:China_Airports.png" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;List_of_airports_in_China#&#x2F;med...</a>
评论 #15794987 未加载
austincheneyover 7 years ago
This site has a total of 9300 airports. The CIA lists 13513 airports in just the US - <a href="https:&#x2F;&#x2F;www.cia.gov&#x2F;library&#x2F;publications&#x2F;the-world-factbook&#x2F;fields&#x2F;2053.html#us" rel="nofollow">https:&#x2F;&#x2F;www.cia.gov&#x2F;library&#x2F;publications&#x2F;the-world-factbook&#x2F;...</a>
评论 #15798262 未加载
destigogoover 7 years ago
OpenFlights is really awesome, we used it to build <a href="https:&#x2F;&#x2F;destigogo.com" rel="nofollow">https:&#x2F;&#x2F;destigogo.com</a><p>Any other tips for complete airport datasets?
fludlightover 7 years ago
Anyone have a free&#x2F;inexpensive source for regularly updated airport pairs for scheduled airline flights?
评论 #15795348 未加载
评论 #15795237 未加载
cwt137over 7 years ago
I’m looking for something similar for shipping ports. Anyone know where I can find it?
thriftwyover 7 years ago
It doesn&#x27;t have Moscow Domodedovo. That&#x27;s number ten maybe in europe&#x27;s top100, with 30 mln passengers actually. What use does this DB have with holes like these? F for effort.
评论 #15795247 未加载