jvde-github / ais2adsb

Simple script to convert AIS NMEA to ADSB basestation format. Main purpose is to plot SAR helicopters in ADSB plotting software like VRS.
GNU General Public License v3.0
13 stars 5 forks source link

Report zero altitude tracks as on ground #14

Closed ianrenton closed 3 months ago

ianrenton commented 3 months ago

When outputting ship tracks, the SBS "is on ground" flag is set to 0, whereas I think it would make more sense to send them as "on ground". This PR sets "on ground" to 1 for any track with a zero or missing altitude.