vatplanner / dataformats-vatsim-public

library for parsing and processing publicly accessible VATSIM data formats
MIT License
1 stars 0 forks source link

unnecessary stub flights due to flight plan retention #2

Open dneuge opened 4 years ago

dneuge commented 4 years ago

If pilots submit their flight plans only after login (no pre-filing), logging in again for a different flight within VATSIM flight plan retention time causes the new flight to show up with the old flight plan until refiled. This causes unnecessary creation of "stub" flights holding just a couple of track points until the new flight plan arrives.

dneuge commented 4 years ago

Could be solved by ignoring the flight plan on import (treat as "bush pilot") for the first minutes following login if its content is exactly identical to last flight plan of previous flight (except for revision number).

dneuge commented 3 years ago

This might be solved by #14 as currently (December 2020) flight plans appear to pop up when pilots with already completed flights disconnect which means they will always be visible after logout and not only as a pilot logs in within retention time of a previous flight plan.