Despite having a rather modest rig at my QTH and limited operating time, I am an aspiring contester. This past weekend’s ARRL International DX contest was very cool. I worked a lot of countries that I’ve never worked before. Here is my list of new entities:
- Hong Kong (already confirmed by LoTW)
- Norway (already confirmed by LoTW)
- Sweden (already confirmed by LoTW)
- St. Kitts & Nevis
- Costa Rica
- Cape Verde
- Dominican Republic
This is a lot of new entities for me. I am glad that I am finally making it to Europe.
Thanks to the World Gazetteer, the azimuthal map can now display world cities. The database has over 150,000 entries.
The azimuthal map form can now add labels for US cities. The database of latitude/longitude pairs for cities seems imprecise because some California cities are in the Pacific ocean. It might also mean that the coastal outlines are not precise enough.
If you notice a city out of place, please let me know. There are some errors in the database. For example, San Francisco was a few miles out to sea.
Update: I updated the list of cities to include ones from Alaska and Hawaii.
New IARU Region 2 award is now available.
According to the ARRL’s story, there is a new IARU Region 2 award for amateur radio operators who have confirmed contacts with 20 entities or countries from a list of 43. There is more information and an application available from the IARU 2 website.
The Ruby script that process the map configuration information given in the map form is very particular about what information it will accept. For example, if you enter a Maidenhead grid as fn31 instead of FN31, the program will not produce a map because the first two letters are supposed to be upper case. Similarly, the title will be rejected if it has non-printable or non-ASCII characters.
I wrote the program to be very strict about checking its inputs to ensure that people cannot cause the program to generate a hostile PDF. Rather than trying to identify and detect all the bad things a malicious person might enter to generate malicious output, I have instead tried to ensure that only safe characters are allowed in the input.
Why do I use Ruby for ham related tools? First of all, Ruby is just a great language. To me, Ruby has the best balance of readability and concision. I’ve written in a lot of languages, and Ruby is the best of the lot unless performance is a big concern.
Ruby has the right libraries for the job. First, it’s a big web language, so it’s available from most internet hosting sites. It’s got a library to parse CGI arguments, so it can be configured from a web form. Ruby also has a PDF writer library that helps create PDF from scratch without any other tools. Generating PDF is convenient for everyone Windows, Mac, and Linux.
Ruby web-based service generates azimuthal projections.
Using information from a variety of public sources, I’ve put together a Ruby program to generate azimuthal projections. The program is available on this site as a web-based service.