News from OpenFlights, the site for flight logging, mapping, stats and sharing


Airport edit review now through Github

Last month, OpenFlights moved to Github, and today we’re rolling out the first new feature enabled by this: airport edits on Github.

Until now, any edits to airports not submitted by yourself were sent by e-mail to a perennially backlogged review queue, which at time of writing has some 200+ edits waiting for review.  The downsides to this were legion: aside from the wait, there was no sensible way to distribute the load, no visibility into the status, and no way to prevent duplicate copies of exactly the same edit piling up in the queue.

Effective immediately, edits are instead posted as issues on Github, like this. This means they’re visible, so you can search and see if anybody else has reported the same thing; they’re automatically deduped, so that edits to the same airport (as determined by ICAO code) get added as comments to the existing issue; and they support “subscribing”, so you can get notified when it’s commented on, accepted or rejected.

And what’s more, you can now help.  Head over to, “Watch” the repository, and configure how you’d like to be notified for new issues.  You can then review any edits and tell us if you think they should be accepted or rejected, making our job that much easier.

For time being, the autogenerated issues are pretty crude, you’re offered a chunk of SQL that you need to eyeball against any potential dupes.  We’re planning to upgrade this to a cleaner diff soon, and expand this to cover airline edits as well.

Gitting better every day,



Import flights from TripIt

It’s been a long time coming, but I am tickled pink to announce the release of a long-awaited feature: integration of with online trip planning tool extraordinaire, which lets you create travel itineraries for flights, hotels and more automatically simply by forwarding them your reservation emails.  Here’s how it works:

  1. Log in to your OpenFlights account and select Import.
  2. In the Import dialog, choose the newly minted Import from TripIt up top.
  3. The first time only, you’ll be requested to authorize read-only access to TripIt.

You’ll then be presented with a list of your Tripit itineraries, newest first, with a separate tab for future flights.  Flights already in your OpenFlights record (same date, airports and direction) are automatically filtered out, and you can then choose Import for single flights or Import All for an entire trip.  Once done, click Close, and your newly imported flights will now be on your map.

As this is a new feature, bug reports, feedback and suggestions for improvement are very welcome.  And a big shout out to Andrew Chen for contributing virtually all the code for this!

Tripping it,

Leave a comment

Great Circle meets OpenFlights

Many aviation enthusiasts will be familiar with the Great Circle Mapper, a handy website that does just what it says on the box: maps great circle routes on top of a world map.  And now, thanks to a patch contributed by an OpenFlights user, you can get your OpenFlights maps up on GCM as well: just choose List flights and then click the shiny new GCMap button, which will open up GCM in another tab with a map that looks something like this:

Since the GCMap export is based on the currently shown list of flights, you can apply filters before listing and thus control the output of the map quite precisely.  And since GCM generates its maps as flat images, you can save them locally and reuse them as you wish — although it’s worth bearing in mind that GCM, an external service not affiliated with OpenFlights, retains the copyright to anything you create there.

The same kind contributor also provided the new Class by distance piechart for Analyze, which shows how much time/distance you’ve spent in each class of seat, whereas the existing Class chart just showed number of flights.  As frequent flyers will know, while short hops are quite tolerable even in steerage, it’s the long flights where those lie-flat business seats really make a difference.

In new circles,


Quick and easy URLs for airport and airline route maps

Today’s feature is a new trick by an old pony — now, you can finally open up (or link directly to) airline and airport route maps, instead of needing to go to the main page, type in your search, select the correct choice and load up the map you actually wanted.  Observe:


Alice Springs:

Singapore Changi:

In other words, take, add any of /airline/, /airport/ or /query/, and plug in either a two-letter airline IATA code (eg. AY for Finnair), a three-letter airport IATA code (ASP) or a four-letter airport ICAO code (WSSS), and you’ll get a link to a map of the airline or airport’s routes.  At the moment, it doesn’t matter which form of the URL you use, but the long-term plan is to make query behave in exactly the same way as the  search on the main page, so using the airport/airline forms is preferable if you expect the results to stay the same.

Alternatively, if you’d like to find out which airports and airlines are covered by OpenFlights, check out this page for a full listing.  As always, a tip of the hat to Airport Route Mapper for providing our data.

Maptastically yours,


Buggy airport data? Now you can fix it yourself!

Until today, pretty much the only way you could fix a bug in OpenFlights airport data was to submit a bug report, never quite as fast or painless a process as you might hope.  But now, there’s a better way: click on or search for the airport , click the edit icon , tweak the data until you are satisfied and hit “Save changes”.  Previously, this would have give you an error message unless you had actually created the airport in question; now, it will fire off a submission to OpenFlights HQ, where our mad scientists will verify that your suggested change makes sense and either accept or reject it.  Either way, you’ll soon get an e-mail message telling you what happened, and the data will be that much better.

Two caveats: you have to be logged in (the “Save changes” button will be grayed out if you aren’t), and for time being this only works on airports.  If it’s popular enough, we’ll enable this for airlines as well.    Give it a spin and let us know how it works for you!


Leave a comment

Slicing, dicing and spinning route maps

The route map we created with our airline route data a while back has been a bit of a sleeper hit: it’s now used on 16 language versions of Wikipedia, drawn excited reactions from blogs and — my personal favorite — claimed by a logistics company as their cargo network!  But it’s a boring old square, and recently, we received a request to make a round version of it.   Never ones to let a challenge pass us by, we set the number-crunchers to work, and here was our first attempt:

“Hmm,” is probably your first reaction, “that looks kinda strange.”   That’s because it shows the entire world squished to a disc, including even the parts you couldn’t actually see, at least not all at once, if you were in outer space looking down at the Earth.  (For you mapping nerds out there, it’s a Lambert azimuthal equal-area projection.)  The only way to make this happen is to stretch the bits around the edges, which is why poor Australia looks so strange.  So how to make it more realistic?  Back to the drawing board!

Our second attempt used an orthographic projection, which is Greek for “true writing” and thus pretty close to what you’d actually see from space.   The only problem this time is that you can only see around half the world at any time, which means you also only see half the airline routes.  How could we show them all?  The solution was to add time to the equation, and turn it into a video:

Or, if you’re on a slower connection, here’s a non-HD version that should load a little faster. And while I was at it, I created my own routemap as a video as well:

Nifty, eh?  We’re considering a campaign that will create route map videos for all users who help contribute to the site, so if you’d be willing to chip in a bit in exchange for a shiny new video, let us know!  Up next, a hardcore geek posting that will reveal the PHP ninja secrets of making maps and videos like this yourself.

Doin’ the rotomotion,

Leave a comment

Important: Password reset required for some pre-2009 users

OpenFlights has been in bug fixing mode lately, but today we rolled out a small but handy feature: the ability to reset your own password if you’ve forgotten it.  We use the same mechanism as every other site out there, namely mailing you a link to check that it’s you, and then giving you a new random password once you click on the link.  While we were at it, we also nuked a pesky longstanding bug that had prevented some users from changing their password, so you’re not stuck with random gibberish afterwards.

Now, there’s one more change afoot for users who registered before January 9, 2009 and whose usernames contain uppercase letters: due to changes in our login system, you will be unable to login after Saturday, May 15th, and you will have to reset your passwords to get your access back.  To emphasize, this applies only to users who fulfill both conditions: if your username contains no uppercase latters or you signed up anytime after January 9, 2009, you don’t need to do anything at all.  If you want to check whether or not you are affected, browse here and find out:

For affected users, the reset can be done at any time (before or after May 15th) and after you have changed the password, your account will be OK.  According to our count, there are 123 of you, and while we will try to reach 82 by e-mail, here’s hoping this catches some of the rest of you.  The remaining unlucky 41, being email-less, cannot use the reset functionality and will instead need to login and change their password under Settings.

And if you’re wondering why we don’t just change your passwords for you, the answer is simply that we can’t: passwords are always stored encrypted (one-way hash), which means that even we can’t read them.

Loquaciously passwordy,