@squawk
    Preparing search index...

    Interface AirspaceFeature

    A single airspace designation feature derived from FAA NASR data.

    Each feature represents one lateral polygon with associated vertical bounds and metadata. A single real-world airspace can produce multiple features:

    • Class B airspace is stored as multiple separate features (one per concentric ring), each with its own polygon and floor/ceiling.
    • Special Use Airspace published as several volumes (a base area plus further areas with their own altitude blocks, such as A-682 Travis AFB or the Birmingham 2 MOA) is stored as one feature per volume.
    • A Class E area published as several disjoint parts (the Florida Class E5 area and its Key West part) is stored as one feature per part.
    • ARTCC centers are stored as multiple features (one per stratum: LOW, HIGH, plus oceanic UTA/CTA/FIR strata), and a single stratum can map to multiple sub-polygons when the source data has disjoint shapes (e.g. ZOA UTA) or when an antimeridian-crossing oceanic boundary has been split at lon=180 (e.g. ZAK FIR).

    Consumers that need to treat the full structure as a unit can group features by identifier (and optionally artccStratum for ARTCC). Polygon rings follow RFC 7946: the exterior ring runs counterclockwise and holes clockwise.

    Vertical bounds whose reference is AGL cannot be precisely compared to an aircraft MSL altitude without terrain elevation data. The @squawk/airspace resolver handles AGL bounds conservatively - see that package for details.

    interface AirspaceFeature {
        artccStratum: ArtccStratum | null;
        boundary: Polygon;
        ceiling: AltitudeBound;
        controllingFacility: string | null;
        exclusions?: AirspaceVolume[];
        floor: AltitudeBound;
        identifier: string;
        name: string;
        scheduleDescription: string | null;
        state: string | null;
        type: AirspaceType;
    }
    Index
    artccStratum: ArtccStratum | null

    For ARTCC features, the boundary stratum that distinguishes this feature from sibling features within the same center (e.g. the same ZNY ARTCC has separate LOW and HIGH features with potentially different polygons). Null for all non-ARTCC airspace types.

    boundary: Polygon

    Lateral boundary polygon in WGS84 coordinates.

    ceiling: AltitudeBound

    Upper vertical bound of this feature.

    controllingFacility: string | null

    The controlling ARTCC for Special Use Airspace, as the three-letter center code (e.g. "ZKC"), where the source publishes one; most MOAs, restricted areas and warning areas carry it, alert, prohibited and national security areas do not. NASR publishes no controlling facility for Class B/C/D/E areas, so it is null for them, and it is always null for ARTCC and Class A features.

    exclusions?: AirspaceVolume[]

    Volumes carved out of this feature. Within an exclusion's boundary, between its floor and ceiling, the airspace does not apply: A-211 Dothan excludes the Class D areas of three airports, R-5601F Fort Sill excludes the airspace below 5,500 ft MSL over part of its area. Most exclusions cover only part of the feature's height, so they cannot be expressed as holes in boundary. Only Special Use Airspace carries them (the SUBTR components of the FAA's SAA data); absent when the feature has none.

    Lower vertical bound of this feature.

    identifier: string

    Identifier for this feature. The semantics depend on type:

    • Class B/C/D/E2/E3/E4: the associated airport's identifier as NASR publishes it, normally the FAA location identifier (e.g. "DCA", "JFK"); a handful of areas carry an ICAO code (e.g. "KRME"). Empty for the few areas that belong to a Canadian airport whose zone crosses the border (the Lynden and Sault Ste Marie Class D areas), which NASR publishes without an identifier.
    • Class E5/E6/E7: NASR publishes no designator for most of these areas, so the identifier is usually empty.
    • Special Use Airspace: official NASR designator (e.g. "R2303A").
    • ARTCC: three-letter center code (e.g. "ZNY", "ZBW").
    • Class A: empty; the feature is derived, not published.
    name: string

    Human-readable name of the airspace (e.g. "WASHINGTON", "DEMO 1 MOA").

    scheduleDescription: string | null

    Operating schedule for part-time airspace, as provided verbatim in NASR source data (e.g. "MON-FRI 0700-2200 LOCAL, OTHER TIMES BY NOTAM"). Null for always-active airspace or when schedule data is unavailable.

    state: string | null

    Two-letter US state or territory abbreviation associated with this airspace feature. For Class B/C/D this is the state of the associated airport, not a guarantee that all geometry falls within that state - outer Class B rings in particular commonly extend into adjacent states. For SUA this is the administrative area recorded in the NASR source data. For ARTCC features this is the state of the center's headquarters facility (e.g. "NY" for ZNY). Null if not available in the source data.

    The type or class designation of this airspace feature.