fix: source flight routes from hexdb.io instead of adsbdb #15

Merged
brenno merged 1 commit from fix/hexdb-flight-routes into main 2026-06-19 21:20:53 +00:00
Owner

Summary

Fixes wrong flight destinations by switching the route source from adsbdb to hexdb.io.

adsbdb's free route DB mislabels many real flights — verified live:

Callsign adsbdb (wrong) hexdb.io (correct)
TRA58N Eindhoven -> Malaga Nador -> Rotterdam
DLH4UA Dusseldorf -> Munich Frankfurt -> Keflavik (matches NW heading)
RYR61CH Kerry -> Stansted (impossible) Stansted -> Sofia

hexdb.io is the primary source now (fresher, accurate), with adsbdb kept only as a coverage fallback. Airport details (name/IATA/coordinates) come from hexdb's airport endpoint, cached per session. This fixes the data at the source rather than guessing from position, so the earlier position-based approach override was removed.

Route-repository tests rewritten for hexdb (+ adsbdb fallback). Full suite green (365), analyze clean.

🤖 Generated with Claude Code

## Summary Fixes wrong flight destinations by switching the route source from adsbdb to **hexdb.io**. adsbdb's free route DB mislabels many real flights — verified live: | Callsign | adsbdb (wrong) | hexdb.io (correct) | |---|---|---| | TRA58N | Eindhoven -> Malaga | **Nador -> Rotterdam** | | DLH4UA | Dusseldorf -> Munich | **Frankfurt -> Keflavik** (matches NW heading) | | RYR61CH | Kerry -> Stansted (impossible) | **Stansted -> Sofia** | hexdb.io is the primary source now (fresher, accurate), with adsbdb kept only as a coverage fallback. Airport details (name/IATA/coordinates) come from hexdb's airport endpoint, cached per session. This fixes the data at the source rather than guessing from position, so the earlier position-based approach override was removed. Route-repository tests rewritten for hexdb (+ adsbdb fallback). Full suite green (365), analyze clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
adsbdb's free route database mislabels many real flights: Transavia
Rotterdam flights showed Eindhoven (TRA2Y, TRA58N), and DLH4UA showed
Dusseldorf->Munich while actually flying Frankfurt->Keflavik. Hiero faithfully
displayed those wrong destinations.

Switch the primary route source to hexdb.io, whose callsign->route data is
materially fresher and correct for these cases, with adsbdb kept only as a
coverage fallback. Airport details (name, IATA, coordinates) are resolved via
hexdb's airport endpoint and cached for the session. This fixes the wrong data
at the source instead of guessing from position, so the earlier
position-based approach override was removed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
brenno merged commit 8a98f3a41c into main 2026-06-19 21:20:53 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
brenno/Hiero!15
No description provided.