/FlightPlanner

Print flight plan between all NZ airports then back to origin. Shows distance in nautical miles for each leg

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

FlightPlanner

This is not a real flight planner. Currently it doesn't have any routes just a straight line between airports. It is based around given a list of airports, return a order to travel between each destination.

Security

No consideration has been given to the security of the webservice. It is NOT recommended to host this on any server exposed to the internet. Feel free to raise any issues or send pull requests.

Console App

Usage: python flight_planner.py -o "NZCH"

Web Service

Usage: python app.py

Requests

These return GeoJSON, you still need to render that on a map.

You can paste the JSON into a website like http://geojson.io for a preview.

Dependencies

Use pipenv to install dependencies

pip install pipenv

pipenv install