Coder Social home page Coder Social logo

sgofferj / tak-adsb-id Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 0.0 2.76 MB

A collection of interesting ADSB ICAO hexids for ADSB to CoT feeders.

License: Creative Commons Attribution Share Alike 4.0 International

Shell 100.00%
tak atak wintak cot adsb

tak-adsb-id's Introduction

TAK ADSB ID collection

Aircraft count

Overview

This is a collection of specific ICAO hexids to make ATAK/WinTAK SA displays more meaningful. The idea is to use them in the middleware which feeds ADSB data as CoT objects into a TAK server. I started out with Finland but pull requests are welcome. In April 2023, I also added countries.json which classifies ICAO hexid ranges. Together with the cotdb, those 2 files should allow for at least an IFF classification.

Friendly, hostile, neutral?

I classify the aircraft from the point of view of somebody living in Finland. Finland is not at war with anybody at this point in time, so at the moment I do not classify any aircraft as hostile. If you feel, some aircraft should be classified as hostile, please download the files and use the search and replace function on your local copy. Civilian aircraft are classified based on their country of registration because it's not always possible to figure out who is actually operating a certain aircraft at any moment in time.

Update 2022-04-26: Due to the Ukraine conflict and the changes in Finnish foreign policy, I reclassified all Russian and Belarusian planes as "hostile".

Other stuff

To assist middlewares with displaying special civilian aircraft, I am developing some conventions for the source files:

  • EMS aircraft will have their operator field in the format "EMS (operator)".
  • SAR aircraft will have their operator field in the format "SAR (operator)".
  • Law enforcement aircraft will have their operator field in the format "LEO (operator)".

json

Since release 162458ZFEB23 the releases also contain a json file (cotdb.json) which should make integration of the data in 3rd party middleware fairly easy. The format is:

{
  "aircraft": [
    {
      "hexid": "3dd55c",
      "cot": "a-n-A-C-H",
      "reg": "D-HBAY",
      "type": "BK117B2",
      "operator": "EMS (ADAC)"
    },
    { ... }
  ]
}

The second available JSON format (cotdb_indexed.json) is

{
  "3dd55c":["a-n-A-C-H","D-HBAY","BK117B2","EMS (ADAC)"],
  "3dd652":["a-n-A-C-H","D-HBKK","BK117B2","EMS (ADAC)"]
}

Contributing

Please feel free to contribute to the list! Ideally, you would submit a pull request, but you can also open an issue. Please keep in mind what I wrote above under "Friendly, hostile, neutral?".

Issues

I will try to handle issues fast but this is a hobby, I have a family and a busy work day, so please don't expect wonders!

License

This repo is published under the Creative Commons Attribution-ShareAlike 4.0 International License.

tak-adsb-id's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tak-adsb-id's Issues

CI pipeline

Create a CI pipeline which creates a single database files from all the separate country/type.txt files.

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.