Skip to main content

Online Hub Connectivity & Routing Analysis

1. Business Objective & Use Cases​

When evaluating competitive schedules or building corporate flight options between secondary markets and long-haul destinations, airlines and travel managers need to find viable online (single-carrier, own-metal) connecting itineraries.

The Online Hub Connectivity Search evaluates whether a carrier offers a legal, commercially viable two-leg connection between a specific origin and destination via a nominated hub on a given travel date. It automatically verifies:

  1. Operating Metal: Both segments are operated by the same carrier on its own physical aircraft (excluding marketing codeshares).
  2. MCT & Layover Windows: Layover duration satisfies the airport's official Minimum Connection Time (MCT) and falls within a maximum allowable connection window (for example, up to 3 hours).
  3. Circuity Control: The detour distance via the hub does not exceed a maximum circuity threshold (for example, up to 1.50).

Target Audience​

  • Network & Schedule Planners: Audit connecting flow and competitive schedule parity on key city pairs.
  • Corporate Travel & Revenue Managers: Identify single-ticket, single-airline itineraries for premium passengers.
  • Alliance Managers: Benchmark own-metal connection quality against competitor alliance offerings.

2. Executable Natural Language Prompt​

Copy and paste the prompt below into the analytics chat bar. Replace the bracketed variables with your desired route, hub, and travel date:

MaestrowPROMPT
Using the latest published schedule, please find all flight connections from [Origin, e.g., LHR] to [Destination, e.g., SYD] connecting through [Hub, e.g., LAX] departing on [Date, e.g., August 17, 2027]. Only include online connections operated on the carrier's own metal, excluding all codeshares. The layover at the hub must respect the airport's minimum connection time and have a maximum connection time of [X hours/minutes, e.g., 3 hours], with a circuity factor of [X, e.g., 1.5] or less. Please present the results in a table showing the airline, flight numbers, aircraft types, local departure and arrival times, layover duration, and the circuity factor. If no flights fall strictly within the connection window, please show the closest available alternatives.

3. How the Platform Works Under the Hood​

The analytics engine joins the inbound leg (Origin -> Hub) and outbound leg (Hub -> Destination) across calendar date arrays and computes spatial circuity.

flowchart LR
A[Inbound Leg: Origin -> Hub] --> C{MCT & Layover Evaluation}
B[Outbound Leg: Hub -> Dest] --> C
C --> D{Circuity Filter <= 1.50}
D --> E{Match Found?}
E -- Yes --> F[Display Valid Connections]
E -- No --> G[Display Nearest Available Fallbacks]

Technical Invariants & SQL Logic

DimensionSource Field / ExpressionLogic Description
Origin & Hub Segmentsdeparture_station & arrival_stationInbound: departure_station = [Origin] AND arrival_station = [Hub]. Outbound: departure_station = [Hub] AND arrival_station = [Dest].
Strictly Online (Own-Metal)flight_airline_designator & operating_airline_disclosureInbound carrier must equal outbound carrier (Inbound.Carrier = Outbound.Carrier). Excludes codeshares (operating_airline_disclosure IS NULL).
Date Expansion & Multi-Day CrossingsGENERATE_DATE_ARRAY + date_variationNormalizes flight date with date_variation (+1 / +2 days) to accurately calculate the local arrival date at the hub.
Connection Time CalculationDATETIME_DIFFLayover minutes = Outbound.Dep_Local_DT - Inbound.Arr_Local_DT. Must be greater than or equal to MCT and less than or equal to the max window.
Circuity Factor (GCD)Haversine FormulaCircuity = (Distance(Origin, Hub) + Distance(Hub, Destination)) / Distance(Origin, Destination), capped at 1.50.
Fallback ProtocolSorting by connection timeIf 0 rows satisfy the strict window, the engine automatically surfaces the closest available options sorted by connection duration.

4. Step-by-Step Customization Recipes​

Recipe A: Lock to a Specific Airline To check connection feasibility for a specific carrier (e.g., American Airlines):

Find all online own-metal connections for carrier AA from LHR to SYD via LAX on August 17, 2027. Max connection time: 4 hours.

Recipe B: Multi-Hub Comparison To evaluate which hub offers the best connection between two cities:

Find all online connections from LHR to MIA connecting through either JFK, BOS, or ORD on October 15, 2026. Show connection times and circuity factors.

Recipe C: Relaxed Stopover Window (4 to 8 Hours) To find long day-layover itineraries:

Find all online own-metal connections from CDG to HND via DOH on November 10, 2026, with a connection window between 4 and 8 hours.

5. Expected Output & Interpretation​

1. Results Table (Strict Window vs. Closest Alternatives) If no flight meets a strict 180-minute threshold, the engine clearly states 0 matches were found and presents the nearest alternatives:

CarrierInbound FlightAircraftOutbound FlightAircraftOrigin DepHub ArrHub DepDest ArrConnection TimeCircuity Factor
AAAA 135Boeing 777-300ERAA 73Boeing 777-300ER16:25 (Aug 17)19:35 (Aug 17)22:55 (Aug 17)07:05 (+2d)200 mins (3h 20m)1.22
UAUA 935Boeing 787-9UA 839Boeing 787-913:05 (Aug 17)16:10 (Aug 17)22:45 (Aug 17)07:00 (+2d)395 mins (6h 35m)1.22

2. Distance & Circuity Summary:

  • Great Circle Distance (LHR to LAX): 8,781 km (5,456 mi);
  • Great Circle Distance (LAX to SYD): 12,061 km (7,494 mi);
  • Total Routed Distance: 20,842 km (12,950 mi);
  • Direct Distance (LHR to SYD): 17,016 km (10,573 mi); * Circuity Factor: 20,842 / 17,016 = 1.22 (valid routing under the 1.50 ceiling).

6. Common Questions & Troubleshooting​

tip

Why was a partner flight excluded? If British Airways flies LHR -> LAX and American Airlines flies LAX -> SYD, this is an Interline / Codeshare Connection, not an Online Own-Metal Connection. To include partner airlines, specify "include oneworld alliance partners" in the prompt.

note

What does a Circuity Factor of 1.0 mean? A Circuity Factor of 1.00 means the hub lies directly on the Great Circle path between the origin and destination (zero detour distance). A factor of 1.22 represents a modest 22% detour, well within commercial viability.