Amateur radio license map info

Welcome to my little spare time project. I've been working on this on and off for about a year as time and motivation allows.

This is more of an excuse to have some fun with Maps and Geocoding than anything else but it hopefully provides something interesting to play with. "Geocoding" means to convert physical addresses into longitude and latitude coordinates. Behind the scenes, this site has been slowly geocoding all active amateur radio addresses in the FCC license data. The FCC data includes all licenses which have a status of "active".

I've found it an interesting project with lots of little challenges. Some of this is because of the wide variation of population and therefore "ham density" throughout the country. I've had to balance that with performance issues both at the database query level and practical limitations of Google Maps. The data is also kind of messy with multiple licensees at one address and multiple addresses at the same location. This last issue is mostly due to spelling variations. In general, one marker appears on the map for each unique latitude / longitude point.

The performance / data quantity compromise I've come up with is that it searches within a 20 mile radius of the map center and has a limit of 200 location markers. The results are sorted by distance which means that the circle is complete until it hits the 200 markers. I haven't found a gridsquare that has more than 200 so if you center on a gridsquare, I think we always get all in that square.

The initial geocoding was done in bulk using Nominatim / OpenStreetMap. This succeeded in finding about half of all addresses. Then over a long period of time the rest were processed using Geocodio.

Geocoding continues using Geocodio at a rate of 125 per hour or a total of 2500 per day which keeps it within the free limit.  Every hour it selects 125 addresses from the database to geocode. These are chosen with the following priority.

  1. New addresses that have not be geocoded before.
  2. Those that previously succeeded on OpenStreetMap. Reprocessing these with Geocodio seems to be improving the results.
  3. Those that previously failed. Some now succeed because of better data.

A weekly import from the FCC usually happens early Wednesday morning eastern time. Only those stations with a status of "active" are retained. About 1000 addresses are added and deleted each week. Geocoding the new addresses is usually completed by late Wednesday.

Of course some addresses are PO Boxes and other mailing services. Addresses starting with "PO Box" are simply excluded. Also, many licensees are not active in the hobby. Be that as it may, it can be fun to play with the Street View feature of the maps to look for antennas.

Although I've only considered data from the USA, it's written in a generalized way so it can handle data from other countries but I'm not aware of any other countries who make their data publicly available.

It's built with Drupal 8. The code is all on Github here, here and here.

Anyway… I think it's pretty much "done" in terms of new features unless someone comes up with a good idea. I've probably spent way too much spare time on this already and it's time to get my antenna up again and do some QRP construction. Feedback is welcome. The easiest way is by email to tetranz (at) gmail.com

73
Ross  KT1F

Geocode report

StateNewSuccessfulNot FoundPO Box
AK 0 2302 106 1021
AL 0 12065 164 612
AP 0 4 117 5
AR 0 7821 66 690
AS 0 0 4 15
AZ 0 20898 94 1922
CA 0 93463 386 8474
CO 0 18898 127 1403
CT 0 7339 20 315
DC 0 531 0 28
DE 0 1845 3 71
FL 0 43991 141 1781
GA 0 18921 160 930
GU 0 4 124 100
HI 0 2848 65 825
IA 0 6530 28 297
ID 0 9701 184 1136
IL 0 19626 255 722
IN 0 15837 74 555
KS 0 7258 38 367
KY 0 9748 100 499
LA 0 5975 109 356
MA 0 13303 21 801
MD 0 11171 40 399
ME 0 4223 12 540
MI 0 21125 404 752
MN 0 11577 69 439
MO 0 14390 877 758
MP 0 1 48 155
MS 0 4702 314 321
MT 0 3713 26 780
NC 0 22387 99 1364
ND 0 1454 45 124
NE 0 3750 19 184
NH 0 5456 25 531
NJ 0 13210 61 527
NM 0 5801 79 846
NV 0 8025 63 742
NY 0 26301 105 1583
OH 0 28107 109 816
OK 0 8616 1125 811
OR 0 19119 77 2178
PA 0 24616 120 900
PR 0 1689 2459 1303
RI 0 1943 2 86
SC 0 10264 123 479
SD 0 2056 38 139
TN 0 19978 61 933
TX 0 53100 372 3493
UT 0 17791 193 935
VA 0 20574 81 1151
VI 0 11 108 147
VT 0 1952 9 282
WA 0 31565 117 3463
WI 0 11521 45 398
WV 0 5565 124 708
WY 0 1938 14 420
Totals 0 736599 9849 51612