FlightBuilder - diggybell/piaware-tools GitHub Wiki

Table of Contents

PiAware Flight Builder

Description

This utility will process new positions for each aircraft and construct a virtual 'flight'. If a gap of 30 minutes is found between two sequential positions a new 'flight' will be created. The flight data will include the first/last time the aircraft was seen on that track.

Usage

This utility can be run manually using the following commands

cd <path to piaware-tools>/utility
php flight-builder.php

Options

None

CRON Automation

The script should be integrated with CRON to provide continuous updates to the data set. The following entry will run the script at 15 and 45 minutes after the hour.

20,50 * * * * cd <path to piaware-tools>/utility; php flight-builder.php

Notes:

  1. Replace <path to piaware-tools> with the base path where you installed PiAware Tools.
  2. This utility should be executed after ADSB Update. The "20,50" in your CRON will ensure the timing is correct.
⚠️ **GitHub.com Fallback** ⚠️