Coder Social home page Coder Social logo

tmtv's Introduction

Traffic Management Tool for VATSIM

What is it?

It's my attempt at making something to help manage traffic as an ADC/Area coordinator. Right now, it doesn't do any of that stuff, but it does draw pretty maps. Map created using TMTV showing VATSIM traffic over the UK

How can I use it?

Installing

It's built in nodejs, so for starters you'll need to go install the latest version of that from https://nodejs.org/en/download/

Then:

  • Clone this repository to a folder
  • Run npm install in the repository folder using your terminal of choice. This will install the dependencies of the app
  • You'll need to put the Airports.txt file from the GNS430 nav dataset into ./navdata/ for airport checking
  • That's all of the installation that is required!

Usage

Collecting data from the VATSIM datafeed

  • Run npm run watch

Working with live data

  • Run npm run live
  • It'll download from the datafeed, and automatically use any data that already exists that is less than 4 hours old

Working with past data

  • Run npm run past
  • Obviously to work with past data, you will need past data

Making pretty maps

  • The construction of pretty maps is dependent on two things:
    • Data - this comes from the datafeed, so you need to collect some before trying to use it
    • A Mapbox API token
      • Get this at https://mapbox.com/ - it should look something like pk.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
      • Put it in config.js as mapboxToken
  • Run npm run server
  • Navigate to localhost:8080 to find the maps server.

Once you have the server running, here's a list of things you can do

Heat map

  • http://localhost:8080/map/all/heat
  • (it's a really bad heatmap, because all heatmaps are bad)

Flight line map

  • http://localhost:8080/map/all
  • It's an actually nice line map, and looks like the screenshot above

tmtv's People

Contributors

aeroniemi avatar

Watchers

James Cloos avatar

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.