View Single Post
  #7   Report Post  
Old July 5th 05, 12:49 AM
Fabian Kurz
 
Posts: n/a
Default

Zed Zed wrote:
I was wondering if you might be able to help me identify the fields used in
K1EA's cty.dat file?

The fields in the file are in this format.

Spratly Is.: 26: 50: AS: 8.80: -111.90: -8.0: 1S:
1S,9M0,9M6OO/P,9M6PO,9M6TCR,9M6TPR,BV9S,DU0,DX0;
Fiji: 32: 56: OC: -18.10: -178.40: -12.0: 3D2:
3D2;

1st field is country,
the 2nd: ?


CQ Zone

the 3rd: ?


ITU Zone

4th: continent
5th: longitude ?
6th: latitude ?


other way round. 5th is latitude, 6th is longitude.

7th: UTC offset?


r

8th: Primary Prefix ?


r

9th: All Prefixes?


Yes. Always the longest matching prefix counts for determining the
DXCC. For example EA6ABC would match for EA (2 characters mathcing)
and EA6 (3 characters matching), so it is EA6, Balearic Is..
For some countries there are even full calls given, like for FO0s,
where callsigns like FO/DL1AWI are not unambiguously assigned to a
certain DXCC.

Polynesia: 32: 63: OC: -17.60: 149.50: 10.0: FO:
FO,FO0FRA,TO8K;

Using the cty.dat file has the great advantage that you don't have
to mainain your own database, but simply can download the actual
version every now and then...

At http://fkurz.net/ham/dxcc/ you find a little Perl script which
asks for callsigns and then returns their data from the country file.
Should be a task of a few minutes to turn this into a CGI for web
access..

73,
-
Fabian Kurz, DJ1YFK * Dresden, Germany * http://fkurz.net/