-
Notifications
You must be signed in to change notification settings - Fork 20
F. \db\
The files in the \db directory, a series of json files, are provided and used to perform a look up on aircraft types.
As supplied with dump1090-fa they contain 3 bits of information, icao (utilising the json filename as the prefix to this), 'r' registration and 't' type. So given in file E.json we have:
- icao: E4827E
- Registration/call: PR-MYC
- type: A319
This is referenced in planeObject.js (function PlaneObject(icao)).
I have update the above data and also included some bespoke data. such that in file 43C.json :
-icao : 43C485 -Country : United Kingdom -Force: RAF -Image : Typhoon -Interesting : 1 (yes) -Owner : RAF -Short : Typhoon -Trail : 5 (see trail codes below) -Type: Eurofighter Typhoon T3 -reg: ZJ805 -type: EUFI
This data is used in other modifications to show bespoke plane images and to provide more aircraft information.
Certain aircraft are displayed with their trails already on (regardless of whether they have been individually selected, or select all has been used)
The codes I use are:
- 1 = Mil/noTrail
- 2 = Civ/noTrail
- 5 = Mil/Trail
- 6 = Civ/Trail
- 0 = ?/noTrail
- 3,4,7 = ERR
References, eg: "ref: AK1C" refer to comments in the code that can be searched for to locate the specific changes