Git Product home page Git Product logo

flight-map-generator's Introduction

Flight Log Mapper

This small nodejs application takes a ForeFlight or Garmin Pilot logbook CSV export, and along with the FAA database of airports, performs the data processing necessary to translate it into a CSV for use on kepler.gl for mapping.

The code presently only works for US-based airports, as I am using an FAA sourced airport lookup table.

sample map

Requirements

Runing the Script

  • (optional) Update the USA airport database at data/airports.csv directory with the latest version from the FAA.
  • Place your exported logbook as data/logbook.csv in the data directory.
  • Run npm install to install dependencies.
  • Execute node main.js.
  • Take the out.csv that was generated and import at kepler.gl.
  • Adjust map styles and such as required.

"Fun Mode" - open this project in Visual Studio Code with the Geo Data Viewer Extension, select your out.csv file, and view the map from directly inside VSCode.

Limitations (Today)

  • Only available for US Airports
  • The script right now depends on a particular format for the "Route" field which I look for spaces or dashes between waypoints. It does a best-case lookup to see if there's an airport match for an identifier. If a VOR and ID match (i.e. CTY VOR, CTY Airport), the script can't tell if it's the VOR or you landed there. I may update this later to require some delimiter like MyFlightBook.com does.

Disclaimers

ForeFlight is a trademark of the Boeing company. There is no connection between this app and the ForeFlight application or company. I am just a big fan and user that depends on the great software they make to ensure the safety of myself and my passengers when we fly. Thank you to the whole ForeFlight team for making such a great application! Please visit them at foreflight.com, buy their software, and get out and fly!

Garmin Pilot is a trademark of Garmin and again, there is no connection between the app and that awesome team. A fellow pilot encouraged me to adapt the code to work for their logbooks as well, and I was happy to. EFB's make flying safer and easier. Go out and get the one that works best for you!

License

Please see the LICENSE file in this repository for details.

Contributing

Contributions are welcome and encouraged. This was a fun project to create. I am sure there are others out there who can do it better. Please submit pull requests and improve it for everyone!

flight-map-generator's People

Contributors

dillten avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

boozedog

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.