Skip to content
DataTeo Airports

Methodology

How raw OurAirports files become the pages on this site. The pipeline is open-source Python, and every publication rule below is enforced automatically.

1. Licence check

Before import, the dataset’s licence record must show verified permission for commercial use, modification and redistribution. OurAirports data is public domain. Datasets that fail this check cannot be built into any page.

2. Normalisation

  • Text is trimmed, whitespace is collapsed and control characters are removed. All text is HTML-escaped when rendered.
  • Numbers are parsed strictly. Empty or unparseable values become “missing”, never zero.
  • Closed runways are excluded. A runway length or width of 0 is treated as unknown.
  • Runway surface codes are free text in the source. They are grouped into broad categories (asphalt, concrete, grass and so on), and the original code is shown next to the group.
  • Website links are kept only if they use http or https.

3. Inclusion rules

An airport gets a page only if it meets all of these conditions:

  • It is a large or medium airport, or a small airport recorded with scheduled airline service.
  • It has an IATA or ICAO code.
  • It has valid coordinates and a known country.
  • It has at least one further detail: elevation, municipality or runway length.

Out of 86,475 source records, 5,629 meet these rules. Heliports, seaplane bases, balloon ports, closed airports and small private airfields are excluded on purpose, so the site does not publish thousands of thin pages.

4. Validation

Every published record is checked against a schema covering types, ranges (latitude −90 to 90, longitude −180 to 180, elevation −1,500 to 16,000 ft), code formats, URL safety and uniqueness of identifiers. Records that fail are withheld. Unusual but possible values, such as extreme elevations or very long runways, are flagged for review and not removed.

5. URLs

Each airport page uses its IATA code in lower case, for example /airport/cmn/. If an airport has no IATA code, the ICAO code is used instead. If two airports would share a URL, the OurAirports identifier is appended to the second.

6. Calculations

  • Distances use the haversine great-circle formula with a mean Earth radius of 6,371.0088 km. See how distance is calculated.
  • Unit conversions: 1 ft = 0.3048 m; 1 mi = 1.609344 km; 1 NM = 1.852 km.
  • The nearest airports on each page are the six closest airports in this directory by great-circle distance.

7. Updates

The current data was retrieved on 2026-12-04. Updates are proposed as reviewed changes that report added, removed and changed records. If an update fails validation, the previous verified data stays live.