Welcome to Radarspotting. Please login or sign up.

May 15, 2026, 11:57:46 PM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

Countries.dat file for Basestation

Started by Roadrunner, May 16, 2017, 07:35:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DaveReid

Yes, the start of the 7801xx band is used by PRC, with 780118 the highest I'm aware of (mostly CSN), and Taiwan's usage starts at around 780120, so it may be possible to have separate masks for those in the Countries.dat file.

Faramir

#61
The manager of the Dutch official register gave me all the registrations issued to Curacao and Aruba. I condensed the registries to the lines below.
The flag bitmap for Curacao I had to make but I'm not good at that at all so maybe someone can make a proper 20x16 flag for Curacao?

For the Netherlands as whole the first 9 bits define the total range. The 10th bit is used to define civil (1) or military (0). No further ranges are defined. That leaves 2 lines for the Netherlands that are also below.

I don't know if the order makes a difference. All the registrations for both Aruba and Curacao were binary sorted and then condensed to the ranges as they are shown. If a different order is better than please let me know.

Aruba=010010000100000001110100,24,Aruba.bmp
Aruba=010010000100000011000110,24,Aruba.bmp
Aruba=010010000100000011011101,24,Aruba.bmp
Aruba=010010000100000011011110,24,Aruba.bmp
Aruba=010010000100000011101010,24,Aruba.bmp
Aruba=010010000100000011111011,24,Aruba.bmp
Aruba=010010000100000100000001,24,Aruba.bmp
Aruba=010010000100000100000111,24,Aruba.bmp
Aruba=010010000100000100011000,24,Aruba.bmp
Aruba=01001000010000010001101x,23,Aruba.bmp
Aruba=0100100001000001000111xx,22,Aruba.bmp
Aruba=01001000010000010010xxxx,20,Aruba.bmp
Aruba=01001000010000110011101x,23,Aruba.bmp
Aruba=0100100001000011001111xx,22,Aruba.bmp
Aruba=01001000010000110011xxxx,20,Aruba.bmp
Aruba=01001000010000110100101x,23,Aruba.bmp
Aruba=0100100001000011010011xx,22,Aruba.bmp
Aruba=01001000010000110100xxxx,20,Aruba.bmp
Aruba=01001000010000110101101x,23,Aruba.bmp
Aruba=0100100001000011010111xx,22,Aruba.bmp
Aruba=01001000010000110101xxxx,20,Aruba.bmp
Aruba=010010000100001101100xxx,21,Aruba.bmp
Aruba=0100100001000100100011xx,22,Aruba.bmp
Aruba=01001000010001001001101x,23,Aruba.bmp
Aruba=0100100001000100100111xx,22,Aruba.bmp
Aruba=01001000010001001001xxxx,20,Aruba.bmp
Aruba=01001000010001001010xxxx,20,Aruba.bmp
Aruba=010010000100010010110xxx,21,Aruba.bmp
Aruba=0100100001000100101110xx,22,Aruba.bmp
Aruba=01001000010001001011110x,23,Aruba.bmp
Aruba=010010000101000010011001,24,Aruba.bmp
Aruba=01001000010100001001101x,23,Aruba.bmp
Aruba=0100100001010000100111xx,22,Aruba.bmp
Aruba=0100100001010000101xxxxx,19,Aruba.bmp
Aruba=010010000101000011000xxx,21,Aruba.bmp
Aruba=0100100001010000110010xx,22,Aruba.bmp

Curacao=010010000100000010xxxxxx,18,Curacao.bmp
Curacao=01001000010111111110111x,23,Curacao.bmp
Curacao=01001000010111111111xxxx,20,Curacao.bmp
Curacao=0100100001100000000xxxxx,19,Curacao.bmp
Curacao=01001000011000000010xxxx,20,Curacao.bmp
Curacao=010010000110000000110xxx,21,Curacao.bmp
Curacao=010010000110000000111000,24,Curacao.bmp

Netherlands=0100100001xxxxxxxxxxxxxx,10,Netherlands.bmp
Netherlands Mil=0100100000xxxxxxxxxxxxxx,10,Netherlands_Mil.bmp

SteveHibberd

CURACAO.bmp
40x20 as per my zip
20x16 as per defaults

[attachment deleted reduce file load]

SteveHibberd

If you like the larger country flags, I have a zip file with lots of others :)

Faramir

Thanks Steve,

For me the 20x16 is perfect!

David Finch

Hi Faramir

Thanks for the Aruba Lines, just a few queries.  I've numbered the lines for convenience.  Hope I've got this correct??

Aruba=010010000100000001110100,24,Aruba.bmp   484074 to   484074   1   
Aruba=010010000100000011000110,24,Aruba.bmp   4840C6 to   4840C7   2   
Aruba=010010000100000011011101,24,Aruba.bmp   4840DD to   4840DD   3   
Aruba=010010000100000011011110,24,Aruba.bmp   4840DE to   4840DE   4   
Aruba=010010000100000011101010,24,Aruba.bmp   4840EA to   4840EA   5   
Aruba=010010000100000011111011,24,Aruba.bmp   4840FB to   4840FB   6   
Aruba=010010000100000100000001,24,Aruba.bmp   484101 to   484101   7   
Aruba=010010000100000100000111,24,Aruba.bmp   484107 to   484107   8   
Aruba=010010000100000100011000,24,Aruba.bmp   484118 to   484118   9   
Aruba=01001000010000010001101x,23,Aruba.bmp   48411A to   48411B   10   
Aruba=0100100001000001000111xx,22,Aruba.bmp   48411C to   48411F   11   
Aruba=01001000010000010010xxxx,20,Aruba.bmp   484120 to   48412F   12   
Aruba=01001000010000110011101x,23,Aruba.bmp   48433A to   48433B   13   A1
Aruba=0100100001000011001111xx,22,Aruba.bmp   48433C to   48433F   14   A2
Aruba=01001000010000110011xxxx,20,Aruba.bmp   484330 to   48433F   15   A3
Aruba=01001000010000110100101x,23,Aruba.bmp   48434A to   48434B   16   B1
Aruba=0100100001000011010011xx,22,Aruba.bmp   48434C to   48434F   17   B2
Aruba=01001000010000110100xxxx,20,Aruba.bmp   484340 to   48434F   18   B3
Aruba=01001000010000110101101x,23,Aruba.bmp   48435A to   48435B   19   C1
Aruba=0100100001000011010111xx,22,Aruba.bmp   48435C to   48435F   20   C2
Aruba=01001000010000110101xxxx,20,Aruba.bmp   484350 to   48435F   21   C3
Aruba=010010000100001101100xxx,21,Aruba.bmp   484360 to   484367   22   
Aruba=0100100001000100100011xx,22,Aruba.bmp   48448C to   48448F   23   
Aruba=01001000010001001001101x,23,Aruba.bmp   48449A to   48449B   24   D1
Aruba=0100100001000100100111xx,22,Aruba.bmp   48449C to   48449F   25   D2
Aruba=01001000010001001001xxxx,20,Aruba.bmp   484490 to   48449F   26   D3
Aruba=01001000010001001010xxxx,20,Aruba.bmp   4844A0 to   4844AF   27   
Aruba=010010000100010010110xxx,21,Aruba.bmp   4844B0 to   4844B7   28   
Aruba=0100100001000100101110xx,22,Aruba.bmp   4844B8 to   4844BB   29   
Aruba=01001000010001001011110x,23,Aruba.bmp   4844BC to   4844CD   30   
Aruba=010010000101000010011001,24,Aruba.bmp   485099 to   485099   31   
Aruba=01001000010100001001101x,23,Aruba.bmp   48509A to   48509B   32   
Aruba=0100100001010000100111xx,22,Aruba.bmp   48509C to   48509F   33   
Aruba=0100100001010000101xxxxx,19,Aruba.bmp   4850A0 to   4850BF   34   
Aruba=010010000101000011000xxx,21,Aruba.bmp   4850C0 to   4850C7   35   
Aruba=0100100001010000110010xx,22,Aruba.bmp   4850C8 to   4850CB   36   

Line 15 484330 to 48433F covers the block so you do not need lines 13 & 14.
Line 18 484340 to 48434F covers the block so you do not need lines 16 & 17.
Line 21 484350 to 48435F covers the block so you do not need lines 19 & 20.
You can further combine the blocks to 484340 to 48435F, last 2 blocks being 010xxxxx,19,
Line 26 484490 to 48449F covers the block so you do not need lines 24 & 25.
Shame 484119 is not there as 484118 to 48411F could be one line instead of 3.

DF

rikgale

I have been looking in the Countries.bat I have managed to acquire from Faramir. It would appear that for the Australians both entries are the same, so there would be no way of differentiating Australian from Australian Mil. He suggested I ask here

Australia=011111xxxxxxxxxxxxxxxxxx,6,Australia.bmp
Australia Mil=011111xxxxxxxxxxxxxxxxxx,6,Australia_Mil.bmp


Is there something wrong with the Aussie entries in my file?

Auto updated daily ZIP files on GitHub

Anmer

This is what I have, if it helps:

Australia=011111xxxxxxxxxxxxxxxxxx,6,Australia.bmp
Australia Mil_1=01111100100000100010111x,23,Australia_Mil.bmp
Australia Mil_2=01111100100000100011xxxx,20,Australia_Mil.bmp
Australia Mil_3=011111001000001001xxxxxx,18,Australia_Mil.bmp
Australia Mil_4=01111100100000101xxxxxxx,17,Australia_Mil.bmp
Australia Mil_5=0111110010000011xxxxxxxx,16,Australia_Mil.bmp
Australia Mil_6=01111100100001xxxxxxxxxx,14,Australia_Mil.bmp
Australia Mil_7=0111110010001xxxxxxxxxxx,13,Australia_Mil.bmp
Australia Mil_8=011111001001xxxxxxxxxxxx,12,Australia_Mil.bmp
Australia Mil_9=01111100101xxxxxxxxxxxxx,11,Australia_Mil.bmp
Australia Mil_10=0111110011xxxxxxxxxxxxxx,10,Australia_Mil.bmp
Australia Mil_11=01111101xxxxxxxxxxxxxxxx,8,Australia_Mil.bmp
Australia Mil_12=0111111xxxxxxxxxxxxxxxxx,7,Australia_Mil.bmp
Here to Help.

rikgale

Thank you. I think that will be of great help. :)

Auto updated daily ZIP files on GitHub

rikgale

#69
Does anyone have any HEX ranges for Russian Mil?

I got 4 small and 1 large range sofar, but they seem to mix the Military Hex codes in with the Civil ones, which makes life awkward

Russia Mil=000101010100xxxxxxxxxxxx,12,Russia_Mil_154xxx.bmp
Russia Mil=0001010011110001xxxxxxxx,16,Russia_Mil_14F1xx.bmp
Russia Mil=0001010100000000xxxxxxxx,16,Russia_Mil_1500xx.bmp
Russia Mil=0001010100110011xxxxxxxx,16,Russia_Mil_1533xx.bmp
Russia Mil=0001010101010010xxxxxxxx,16,Russia_Mil_1522xx.bmp


The numbers in the bmp names are a way for me to keep notes

Auto updated daily ZIP files on GitHub

DaveReid

In general, Russian civil ICAO24 addresses are algorithmically-based (like the USA, Canada, etc), with the highest such code being 15869F, assigned to RA-99999, albeit not used, plus GA codes (RA-nnnnG registrations) starting at 18xxxx.

Some of the codes that I know of in the above ranges are nominally civil-registered aircraft operated by the military, with the code still conforming to the algorithm (regardless of whether the reg is RA- or RF-.

So differentiating between civil and military based on ICAO24 is going to be challenging, to say the least.   ::)

rikgale

Thanks for the additional information. Very useful. :)

Auto updated daily ZIP files on GitHub

David Moore

Hi. My SBS display has never displayed a flag for Taiwanese aircraft. There is a Taiwan country flag in the folder but no line for Taiwan in my Countries.dat file.

Does anyone have a Taiwan line that I could add to my Countries.dat file, please?

Thank you very much,

David

Faramir

The lines below are fro my countries.dat file for Taiwan.
Taiwan=10001001100100xxxxxxxxxx,14,Taiwan.bmp
Taiwan Mil=100010011001000101100000,24,Taiwan_Mil.bmp

David Moore

Thank you very much for your prompt reponse, Faramir

Regards.

David