JorgeGT / PlotRTL1090

3D visualization of air traffic through RTL-SDR (dump1090) and MATLAB
GNU General Public License v3.0
134 stars 26 forks source link

Not issue, only a few ideas for the features #4

Open 3835 opened 9 years ago

3835 commented 9 years ago

Hi @JorgeGT ! I have two ideas for new features:

I'd do it myself but my coding skills are weak:(

Meanwhile, take a look at the visualization of air traffic over the Poland - 24 hours on the Christmas Eve 2014. I use rtl_sdr dongle, your script and Comet DS-3000 antenna mounted 10 meters above the ground. On the animation you can see the two airports. Copernicus Airport Wrocław (EPWR, further south from bulls eye center) and Poznań–Ławica Henryk Wieniawski Airport (EPPO, further north form my location). 3D_gif

JorgeGT commented 9 years ago

Wow, amazing data! Could you share the coords.mat file?

As for the ideas, the first one is very easy! Unfortunately the script doesn't record the ICAO code, but that can be added to the script. Inside the main recording loop (i. e. after line 36) you can just put:

icao = [icao planes{i}.hex];

Just remember to initialize the variable after line 20 (icao = [];). Then, if you want to save to excel the unique codes, just do:

xlswrite('icao.xlsx',unique(icao'))

Unfortunately ADS-B doesn't transmit registration codes, those must be looked up in a database, but I don't really know how to find or call one of those DBs! dump1090 appears to do some lookup to get the flight numbers so I'll look into the source code... If you want to print the unique flight numbers, that do get registered with the current code, just do:

load coords % Or the name of your recording!
xlswrite('flg.xlsx',unique(flg'))

Again, thanks for the interesting visualization!

3835 commented 9 years ago

@JorgeGT Thanks for quick respond. Soon I will test new functions and share effects. By the way, catch file -> Christms Eve Coords