<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The data generally comes from the AD1C list.  I have it automated for updating on WA9PIE-2.  Some folks don't updated it at all... ever... so the data gets stale and connected users will say that "the country shown is wrong"... when it's just not being updated.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">For this spot, I think the only way to determine the correct country is by parsing off the suffix from the end of "Andalusia-EA".</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Mike, WA9PIE</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 28, 2019 at 1:44 PM dd5xx--- via Dxspider-support <<a href="mailto:dxspider-support@tobit.co.uk">dxspider-support@tobit.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Verdana;font-size:12px"><div>Hello Dirk,</div>

<div> </div>

<div>I am using the CC11 raw output to parse to my webcluster interface I am currently experimenting on. I have some spots like:</div>

<div> </div>

<div>
<table id="gmail-m_-6712294895547702032spot_table">
        <tbody id="gmail-m_-6712294895547702032spots">
                <tr class="gmail-m_-6712294895547702032vhf">
                        <td>28-May-2019</td>
                        <td>1822Z</td>
                        <td class="gmail-m_-6712294895547702032bold">EA3LA</td>
                        <td>B-GI-L-T-EA</td>
                        <td class="gmail-m_-6712294895547702032right">50150.1</td>
                        <td>SP1MGM</td>
                        <td> </td>
                </tr>
                <tr class="gmail-m_-6712294895547702032hf">
                        <td>28-May-2019</td>
                        <td>1822Z</td>
                        <td class="gmail-m_-6712294895547702032bold">EA4DFE</td>
                        <td>BA-CC-CR-CU-GU-M-TO-EA</td>
                        <td class="gmail-m_-6712294895547702032right">18135.0</td>
                        <td>EA4DFE</td>
                        <td>Cq ea</td>
                </tr>
        </tbody>
</table>

<div>
<table id="gmail-m_-6712294895547702032spot_table">
        <tbody id="gmail-m_-6712294895547702032spots">
                <tr class="gmail-m_-6712294895547702032vhf">
                        <td>28-May-2019</td>
                        <td>1827Z</td>
                        <td class="gmail-m_-6712294895547702032bold"><strong>EA3EVL</strong></td>
                        <td>B-GI-L-T-EA</td>
                        <td class="gmail-m_-6712294895547702032right">50181.8</td>
                        <td>IN3FPJ</td>
                        <td> </td>
                </tr>
        </tbody>
</table>

<div> </div>

<div> </div>

<div>and the raw CC11 packet looks like that:</div>

<div>CC11^50181.8^<strong>EA3EVL</strong>^28-May-2019^1827Z^^IN3FPJ^34^85^EA4RCH-5^37^14^28^15^^^<span style="background-color:rgb(255,255,0)">B-GI-L-T-</span><strong><span style="background-color:rgb(255,255,0)">EA</span></strong>^Trentino-Alto-Adige-I^^JN56</div>

<div> </div>

<div>As I am using the circumflex as field separator I store the data into an array. The field marked here with yellow background usually indicates the Country/Region name of the spotted call. In this example and some more I get weird letters separated by a dash as shown on the above example line/s. I guess they stand for a prefix but I have no clue how they are generated from. On most spots they are correct but on those example I get only a bunch of letters as shown. I have recognized that the tail of this Country/Region field (I have marked it with bold text in the yellow text) is indicating the correct prefix of that spotted country. In this example <strong>EA</strong> for <strong>Spain</strong>.</div>

<div> </div>

<div><u>So my 1st question is:</u></div>

<div>Where does this information come from and why does it show such weird letter combinations for some spots?</div>

<div> </div>

<div><u>My 2nd question is:</u></div>

<div>Some spotted calls contain in that field information like...</div>

<div>CC11^50094.0^<strong>AM70C</strong>^28-May-2019^1836Z^QSYed by QRM  CW^EA1WX^34^34^EA4URE-5^37^14^37^14^^^<strong>Andalusia-EA</strong>^AV-BU-C-LE-LO-LU-O-OU-P-PO-S-SA-SG-SO-VA-ZA-EA^IN52^</div>

<div> </div>

<div>I am looking for a solution to get the correct DXCC name for this spot, in that case SPAIN. Is there any way to read out this information from a DXspider line or do I have to use another sort of conversion tools/libs? Are you aware of a solution which shows the correct DXCC for the spotted call and which allows me also to display the corresponding country flag for that particular country?</div>

<div> </div>

<div>looking forward to your reply, thank you so much in advance.</div>

<div>73, Saki</div>

<div>DD5XX</div>
</div>
</div></div></div>

_______________________________________________<br>
Dxspider-support mailing list<br>
<a href="mailto:Dxspider-support@tobit.co.uk" target="_blank">Dxspider-support@tobit.co.uk</a><br>
<a href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" rel="noreferrer" target="_blank">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a><br>
</blockquote></div>