FlightBuilder - diggybell/piaware-tools GitHub Wiki
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.
This utility can be run manually using the following commands
cd <path to piaware-tools>/utility
php flight-builder.php
None
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:
- Replace <path to piaware-tools> with the base path where you installed PiAware Tools.
- This utility should be executed after ADSB Update. The "20,50" in your CRON will ensure the timing is correct.