OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
adsb.aircraft_overlay Namespace Reference

Convert SDRForge aircraft snapshots into independent map overlay features. More...

Functions

dict[str, object] aircraft_geojson (Iterable[Mapping[str, object]] aircraft)
 Create a GeoJSON FeatureCollection for aircraft with valid positions.

Detailed Description

Convert SDRForge aircraft snapshots into independent map overlay features.

This is a transport-agnostic presentation model. It does not alter the route, camera, weather layers, or existing ADS-B browser lifecycle.

Function Documentation

◆ aircraft_geojson()

dict[str, object] adsb.aircraft_overlay.aircraft_geojson ( Iterable[Mapping[str, object]] aircraft)

Create a GeoJSON FeatureCollection for aircraft with valid positions.

Input fields follow SDRForge AircraftTracker snapshots. Aircraft without decoded positions are omitted rather than plotted at arbitrary coordinates.