Giter Site home page Giter Site logo

jvde-github / ais2adsb Goto Github PK

View Code? Open in Web Editor NEW
9.0 4.0 3.0 260 KB

Simple script to convert AIS NMEA to ADSB basestation format. Main purpose is to plot SAR helicopters in ADSB plotting software like VRS.

License: GNU General Public License v3.0

Dockerfile 8.97% Python 91.03%
adsb ais conversion nmea sar virtualradar basestation-messages

ais2adsb's People

Contributors

dziban303 avatar jvde-github avatar kx1t avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ais2adsb's Issues

MMSI to ICAO Additions

EC-NEH A139 3462C3 111224520
EC-LJA A139 343619 111224505
MM81885 A139 32001A 2366
D-HMNV AS32 3DF3B7 111211512
EC-KXA A139 343318 111224509
EC-NEG A139 3462CC 111224521
EC-KLV A139 3430CA 111224503

Docker version: Callsign set to 'on' no matter what

As detailed in Discord, the CALLSIGN variable cannot be turned off in the Docker version.

"includeCallSign" is set to on by default in the python file, but the compose envar and parsing only supports turning it on, rather than turning it off. Therefore it will always be on even if the compose file has - CALLSIGN= envar set to blank.

So either "includeCallSign" should be set to False by default in the python code, or the compose parsing needs to be tweaked, maybe with

[[ -n "${CALLSIGN}" ]] && ais_params+=("CALLSIGN off") || true

although that's suboptimal because then it would be the opposite behavior of the INCLUDE_SHIPS envar.

I dunno, it's not a huge deal, maybe file this under W for "Who cares?"

MMSI to ICAO map

Not an issue, just wondering if there is a way that I could get MMSI's that start with 503****** to generate ICAO 0xD***** but other MMSI's generate the existing 0xF***** , looking at the code but struggling to think a way around, working 65 + hours a week at the moment is not letting me think clearly, or is it just a case of doing it manually.

Gary.

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.