#mrt #flight #airlines

app flight-network-planner

Minecart Rapid Transit Flight Network Planner for airlines

1 stable release

new 1.2.4 May 1, 2025

#39 in Games

GPL-3.0-only

46KB
1K SLoC

flight-network-planner

Minecart Rapid Transit Flight Network Planner for airlines

This planner prioritises unique flight routes and tries its best not to duplicate other airlines' flights :)

Astrella uses this program to generate its flight network and has found that over 90% of flights are unique 👀

Usage

  1. Run cargo install flight-network-planner to download
    • cargo-binstall is supported: cargo binstall flight-network-planner
    • If cargo is not available, prebuilt executables are located in GitHub releases
  2. Run flight-network-planner get-config to get the default configuration file
    • Append > <config_file_name> to save the configuration to a file
  3. Edit the configuration file for your airline
  4. Run flight-network-planner run <config_file_name> to generate the flight plan for your airline
    • Append -s to view statistics about the flight plan (you may have to scroll up)
    • Append -o <old_output_file_name> if you still have the output of a previous run (to tell the planner to preserve flight numbers), with -r to replace it
    • Appens > <output_file_name> to save the output to a file
  5. Profit

Disclaimer

  1. As flight plans depend heavily on other airlines, flight plans can change extremely rapidly over time
  2. This program pulls data from Gatelogue, which means
    • The duplication rate may be higher or lower than its actual value, depending on whether the MRT Mapping Services have recorded the other airlines' flights
    • You need the internet for this to work
  3. There is a 99.9999999% chance something will break while you use the program. I haven't got round to unit-testing the planner thoroughly so there may be bugs lurking everywhere

Dependencies

~19–30MB
~544K SLoC