Skip to content

Flight plan route display from IFR navigator #13

@billmallard

Description

@billmallard

Summary

Display the active flight plan route on the moving map — waypoints, legs, and the active leg highlight — sourced from an IFR navigator or flight planning software. This is a core EFB feature that provides situational awareness of the planned route relative to terrain, airspace, and weather.

Input Formats / Sources

Source Format Notes
GPX file XML Widely exported by planning software; waypoints + track
X-Plane FMS .fms text Native X-Plane format; useful for sim integration
Garmin FPL XML ForeFlight / Garmin Pilot compatible
FIX DB key Custom Navigator publishes active waypoint lat/lon to FIX DB
CIFP-derived ARINC 424 Departure/arrival procedures already in faa-cifp-data

The simplest first implementation: read a GPX file from a configurable path and display the route. Hot-reload when the file changes (inotify/polling) allows a planning tool to write the file and the map to pick it up automatically.

Display Elements

  • Route line: magenta line connecting all waypoints (FAA/ICAO standard colour)
  • Waypoints: labelled dots at each fix (identifier + altitude constraint if present)
  • Active leg: brighter/thicker line segment from previous fix to next fix
  • Active waypoint: highlighted symbol; distance + bearing readout in data overlay
  • Destination: airport symbol highlighted at end of route
  • Missed approach point / alternate: if present in flight plan

Integration with pyEfis

The FIX DB already carries LAT, LONG, TRACK. A navigator instrument could publish:

  • WP_LAT, WP_LON — active waypoint position
  • WP_DIST, WP_BRG — distance and bearing to active waypoint
  • WP_ID — waypoint identifier string

pyAvMap would subscribe to these and update the active-leg highlight in real time.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions