Amateur prefixes to ISO 3611 country codes

Does anyone know of / have a mapping table for DXCC amateur callsign prefixes to ISO3611 country codes.

Or to put it another way, a mapping between SOTA prefixes and POTA prefixes for each DXCC entity.

No definitive ones online that I can find, and the Google AI-generated suggestions is incomplete and with errors. I can do this manually by merging the two lists by country name, but as the names do not always match it will be time consuming and error prone.

A link would be great, or PM me for an email address (or find it on HAMQTH) if you want to email me one.

Appreciate, etc …

1 Like

..try your national assocation in ZL

Geoff vk3sq

Might not be exactly what you want but should get you close

2 Likes

Looks great - thanks. MIT license is a new one on me, but looks as if I’m allowed to use and acknowledge.

MIT is usually considered one of the more permissive licenses, but I suspect it’s more the default in github than any conscious choice being made :smiley:

Hat tip, of course, to Manuel @HB9DQM

2 Likes

What about: GitHub - k0swe/dxcc-json: JSON reference for amateur radio DXCC entities · GitHub ?

It’s not the perfect answer but maybe of help?

2 Likes

Thanks for that. I have the answer I needed (the ISO3611 code to callsign prefix mapping) from the Sotlas dxcc.json file.

But the per-country regex in the library from K0SWE you linked to will help fill another gap - so good to know about.

2 Likes

For completeness: if anyone’s looking for a mapping from SOTA association (rather than callsign prefix) to ISO code, I keep a manually curated/updated list here (longest prefix match logic):

5 Likes