@squawk
    Preparing search index...

    Interface RouteLeg

    A single leg between two consecutive geographic points in a parsed route.

    interface RouteLeg {
        crossesGap: boolean;
        cumulativeDistanceNm: number;
        distanceNm: number;
        from: string;
        fromLat: number;
        fromLon: number;
        procedureAirportMismatch: boolean;
        to: string;
        toLat: number;
        toLon: number;
        unusable: boolean;
    }
    Index
    crossesGap: boolean

    Whether this leg spans a published gap in the airway it was expanded from. The airway is not defined between the two points, so the leg is a straight line that counts toward the total but is not a flyable airway segment, and the route is not valid as filed.

    cumulativeDistanceNm: number

    Cumulative distance from the route start through the end of this leg in nautical miles.

    distanceNm: number

    Great-circle distance of this leg in nautical miles.

    from: string

    Identifier or raw token of the starting point.

    fromLat: number

    Latitude of the starting point in decimal degrees, positive north.

    fromLon: number

    Longitude of the starting point in decimal degrees, positive east.

    procedureAirportMismatch: boolean

    Whether this leg runs along, or joins the route to, a SID or STAR the route files at an airport no adaptation of it serves (the procedure element's airportMismatch): the procedure's own legs, plus the leg in from the departure airport for a SID or out to the arrival airport for a STAR. The leg is measured like any other, but the route is not valid as filed.

    to: string

    Identifier or raw token of the ending point.

    toLat: number

    Latitude of the ending point in decimal degrees, positive north.

    toLon: number

    Longitude of the ending point in decimal degrees, positive east.

    unusable: boolean

    Whether this leg is an airway segment the FAA marks unusable. The leg is measured like any other and counts toward the total, but the segment may not be flown, so the route is not valid as filed.