urbanists.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a server for people who like bikes, transit, and walkable cities. Let's get to know each other!

Server stats:

558
active users

Tor Lillqvist

What a missed opportunity: The code for the Venice Lido is LIPV, not LIDO.

Is there any airport for which the four-letter ICAO code, or even the three-letter code, would match a name for the location?

I guess one could figure out this fairly quickly:

1) Download a suitable list of ICAO codes that also has one or even more names for the city or other location the airport is in or mostly used by
2) Keep just those where one of those names is four letters long
3) See if any of those match the ICAO code

And the winner is:

International Airport, code: NIUE.

Found using the list from datahub.io/core/airport-codes and this Perl code:

#!/usr/bin/env perl -an -F,

use strict;

my $icao = $F[0];

next unless $icao =~ m/[A-Z][A-Z][A-Z][A-Z]/;

foreach my $name(split(/ /,$F[2].' '.$F[7])) {
if (uc($icao) eq uc($name)) {
print $icao, ' ', $F[2], ' ', $F[7], "\n";
}
}

Ignoring two matches with bogus data: BOBS and SWYX.

IATA check left as an exercise to readers.

DataHubAirport CodesAirport codes. IATA airport code. ICAO airport code. Airport codes from around the world and coordinates. Download data tables in csv (excel) and json formats.

(I hadn't written any Perl in many years, but still it seemed like the natural language to use. But most people would probably have used Python, sure. Left as an exercise.)