Plotting routes in the APRS network

By accident, I left a radio listing to the APRS frequency overnight with direwolf decoding and logging packets to a file. Just for fun I thought I'd try and plot some of the routes packets took to my low dipole in IO92XD.

In the plot below, I'm drawing stations with locations measured off-air with green borders, the ones with red borders I had to add manually. The lines between stations represent routes packets took, and their weight is proportional to the number of packets traversing that route.

Looks like the longest route might have been from G4GVZ via MB7USW, MB7UG, and MB7UM. The most distant station is probably MB7UB in Bath.

The aprs.log file looks a bit like this:

[0 2020-04-05 19:19] G4MRS-2>APNU19,MB7UM*,WIDE1-1:!5203.38N/00116.81E#UIDIGI1.9B3: Martlesham RS - http://mrsap.org 2
[0 2020-04-05 19:19] G4MRS-2>APNU19,MB7UH,MB7UPI*:!5203.38N/00116.81E#UIDIGI1.9B3: Martlesham RS - http://mrsap.org 2
[0 2020-04-05 19:19] 2E0PBY>UQQVS0,G3OJZ,MB7UH,MB7UM*:'w0%l <0x1c>R/]<0x0d>
[0 2020-04-05 19:19] 2E0PBY>UQQVS0,G3OJZ,MB7UH,MB7UPI*:'w0%l <0x1c>R/]<0x0d>
[0 2020-04-05 19:21] MB7VH>APMI04,MB7UM*,WIDE2-1:@050621z5202.08N/00031.09W#WX3in1Mini U=13.6V. Central Bedfordshire<0x20>
[0 2020-04-05 19:21] MB7VH>APMI04,MB7UPI*,WIDE2-1:@050621z5202.08N/00031.09W#WX3in1Mini U=13.6V. Central Bedfordshire<0x20>
[0 2020-04-05 19:21] G3OJZ>APU25N,MB7UH,WIDE1,MB7UM*,WIDE2-1:@051821z5106.07N/00112.91E_169/008g010t059r000p000P000h59b10127DAVIS VP2 & WDISPLAY<0x0d>
[0 2020-04-05 19:21] G3OJZ>APU25N,MB7UH,WIDE1,MB7UPI*,WIDE2-1:@051821z5106.07N/00112.91E_169/008g010t059r000p000P000h59b10127DAVIS VP2 & WDISPLAY<0x0d>
[0 2020-04-05 19:23] MB7UH>APMI03,MB7UM*,WIDE2-1:!5154.53N/00053.93E#http://martellotowergroup.com
[0 2020-04-05 19:23] MB7UH>APMI03,MB7UPI*,WIDE2-1:!5154.53N/00053.93E#http://martellotowergroup.com

You can see the route as the first few fields. So far, the script only parses the simpler packet formats (about 1500 of 3000 total), so there's more information to be had.

vim: set ft=markdown wrap spell :