Skip to content

ICAO Airport Code

Type Registry

ICAO Airport Code

geography.transportation.icao_code

International Civil Aviation Organization airport code (4 letters). More comprehensive than IATA; includes some smaller airports (e.g., KJFK, KLAX, LFPG).

Domain geographytransportation
Casts to VARCHAR
Scope Universal

Try it

CLI
$ finetype infer -i "KJFK"
→ geography.transportation.icao_code

DuckDB

Detect
SELECT finetype('KJFK');
-- → 'geography.transportation.icao_code'
Cast expression
UPPER(CAST({col} AS VARCHAR))
Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'geography.transportation.icao_code';

JSON Schema

finetype schema geography.transportation.icao_code
{
  "$id": "https://noon.sh/schemas/geography.transportation.icao_code",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "International Civil Aviation Organization airport code (4 letters). More comprehensive than IATA; includes some smaller airports (e.g., KJFK, KLAX, LFPG).",
  "examples": [
    "KJFK",
    "KLAX",
    "LFPG",
    "EGLL",
    "RJTT"
  ],
  "pattern": "^[A-Z]{4}$",
  "title": "ICAO Airport Code",
  "type": "string"
}

Examples

KJFKKLAXLFPGEGLLRJTT

Types in geography