Skip to content

Add airport importer and automatic display refresh#33

Open
Ottoisblato wants to merge 1 commit into
cpaczek:mainfrom
Ottoisblato:main
Open

Add airport importer and automatic display refresh#33
Ottoisblato wants to merge 1 commit into
cpaczek:mainfrom
Ottoisblato:main

Conversation

@Ottoisblato

@Ottoisblato Ottoisblato commented Jun 12, 2026

Copy link
Copy Markdown

Adds an airport importer function and button to the Control page in order to simplify adding additional airports with runways and switching between them.

Features:

  • Import airports by ICAO, FAA, GPS, or airport name
  • Downloads runway data from OurAirports
  • Automatically adds runway overlays to the display
  • Automatic display refresh after import & server reboots (not Pi)
  • No manual editing of airports.ts required

Tested on Raspberry Pi 4 deployment.

Example:

  • KSNA
  • KFUL
  • KLAX
  • Airport name searches

import-airport.cjs now updates server/data/config.json center coordinates automatically.

Added reusable airport generation/import tooling (airport-block.cjs).

This PR intentionally excludes user-specific airport library data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants