Tar1090/Readsb and extra JSON out fields

I could be reading it wrong here, but from what I can tell. Tar1090 is able to throw in some extra fields to the JSON file if enabled? And has anyone managed to get it to include airframe data to read

(Or does it require it’s own db file specified)

From historic posts, it appears it was all integrated in the end and the need to manually import aircraft.csv.gz is defunct.
I can get a default install to populate the REG/Type short code as if it was reading from internet. But the moment I try to use the --db-file cmd for a region specific one with some extra airframe data to include in the JSON (or the specific write long type option) for alternate offline push use. The known fields suddenly blank (until manually forcing it to update from repo again)

" --db-file-lt Write long type to aircraft.json as field desc"

If used with --db-file using a aircraft.csv.gz from the tar1090-db repository (csv branch), these additional fields will be available if the aircraft is in the database:

  • r: aircraft registration pulled from database
  • t: aircraft type pulled from database
  • (optional with --db-file-lt: desc: long type name)

Love to hear from someone who has formatted their own for display while getting the JSON out to include it as pescribed.

For anyone playing along… It’s the combination of aircraft.csv.gz type being fussy, and location it seems

The older/specific Tar1090 goes into a little more detail and was my solution

wget -O /usr/local/share/tar1090/aircraft.csv.gz https://github.com/wiedehopf/tar1090-db/raw/csv/aircraft.csv.gz
--db-file /usr/local/share/tar1090/aircraft.csv.gz

And lastly --db-file-lt

And suddenly the JSON is populated with aircraft details
Bring on automatic OBS overlay data and alerts…

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.