Coder Social home page Coder Social logo

thomasdubdub / opensky-traffic-viz Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 2.0 37.11 MB

Load and visualize OpenSky Network air traffic data with Python tools

License: MIT License

Jupyter Notebook 100.00%
opensky-network python air-traffic-data flight-tracking map

opensky-traffic-viz's Introduction

Python scripts to load and visualize OpenSky Network air traffic data

Load and visualize OpenSky Network air traffic data with Python framework (geo/pandas, contextily...)

Air traffic data are either provided as JSON files from the OpenSky live REST API or requested to the OpenSky historical database with Paramiko

Flight data are stored as pandas / GeoPandas dataframes

The map background is built with contextily

Images are built with PIL and Matplotlib

Example: plot latest tracks over France (10 positions in the last 10 minutes)

lastest

Example 2: plot trajectories of emergency helicopters over Paris (summer 2020) historical

Example 3: plot latest positions of flights over Belgium instant_traffic

Running the tests

Run the different notebooks to load and visualize data:

  • demo_unauthenticated_instant: load and visualize rapidly on a map latest flight positions (ex: over Belgium)

  • demo_authenticated_latest: load and visualize successive positions from recent flight positions (ex: over France)

  • demo_historical_database: load and visualize past flight trajectories (ex: emergency helicopters over Paris)

Built With

  • Paramiko - A Python implementation of SSHv2

  • pandas - Python Data Analysis Library

  • GeoPandas - GeoPandas is an open source project which extends the datatypes used by pandas to allow spatial operations on geometric types.

  • contextily - Context geo-tiles in Python

Version

Code tested with the following configuration: Python 3.7.4, paramiko 2.7.2, pandas 0.25.1, geopandas 0.6.3 and contextily 1.0rc2

Authors

  • Thomas Dubot

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Other resources

If you fail adapting these scripts to your needs, you could try to install one of the following Python libraries to access OpenSky Network data:

opensky-traffic-viz's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

nminster pem884

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.