mayhem-firmware/firmware/tools/make_mids_db/MaritimeIdentificationDigits.csv
Arjan Onwezen be0427889f Added country to AIS app, so you know from which country a vessel is.
It's using the MID database, which is also part of the PR.
mids.db should be placed in /AIS folder on SD card.
2022-03-27 12:34:26 -04:00

8.3 KiB
Executable File

1DigitAllocated to
2201Albania (Republic of)
3202Andorra (Principality of)
4203Austria
5204Portugal - Azores
6205Belgium
7206Belarus (Republic of)
8207Bulgaria (Republic of)
9208Vatican City State
10209Cyprus (Republic of)
11210Cyprus (Republic of)
12211Germany (Federal Republic of)
13212Cyprus (Republic of)
14213Georgia
15214Moldova (Republic of)
16215Malta
17216Armenia (Republic of)
18218Germany (Federal Republic of)
19219Denmark
20220Denmark
21224Spain
22225Spain
23226France
24227France
25228France
26229Malta
27230Finland
28231Denmark - Faroe Islands
29232United Kingdom of Great Britain and Northern Ireland
30233United Kingdom of Great Britain and Northern Ireland
31234United Kingdom of Great Britain and Northern Ireland
32235United Kingdom of Great Britain and Northern Ireland
33236United Kingdom of Great Britain and Northern Ireland - Gibraltar
34237Greece
35238Croatia (Republic of)
36239Greece
37240Greece
38241Greece
39242Morocco (Kingdom of)
40243Hungary
41244Netherlands (Kingdom of the)
42245Netherlands (Kingdom of the)
43246Netherlands (Kingdom of the)
44247Italy
45248Malta
46249Malta
47250Ireland
48251Iceland
49252Liechtenstein (Principality of)
50253Luxembourg
51254Monaco (Principality of)
52255Portugal - Madeira
53256Malta
54257Norway
55258Norway
56259Norway
57261Poland (Republic of)
58262Montenegro
59263Portugal
60264Romania
61265Sweden
62266Sweden
63267Slovak Republic
64268San Marino (Republic of)
65269Switzerland (Confederation of)
66270Czech Republic
67271Turkey
68272Ukraine
69273Russian Federation
70274North Macedonia (Republic of)
71275Latvia (Republic of)
72276Estonia (Republic of)
73277Lithuania (Republic of)
74278Slovenia (Republic of)
75279Serbia (Republic of)
76301United Kingdom of Great Britain and Northern Ireland - Anguilla
77303United States of America - Alaska (State of)
78304Antigua and Barbuda
79305Antigua and Barbuda
80306Netherlands (Kingdom of the) - Bonaire, Sint Eustatius and Saba
81306Netherlands (Kingdom of the) - Curaçao
82306Netherlands (Kingdom of the) - Sint Maarten (Dutch part)
83307Netherlands (Kingdom of the) - Aruba
84308Bahamas (Commonwealth of the)
85309Bahamas (Commonwealth of the)
86310United Kingdom of Great Britain and Northern Ireland - Bermuda
87311Bahamas (Commonwealth of the)
88312Belize
89314Barbados
90316Canada
91319United Kingdom of Great Britain and Northern Ireland - Cayman Islands
92321Costa Rica
93323Cuba
94325Dominica (Commonwealth of)
95327Dominican Republic
96329France - Guadeloupe (French Department of)
97330Grenada
98331Denmark - Greenland
99332Guatemala (Republic of)
100334Honduras (Republic of)
101336Haiti (Republic of)
102338United States of America
103339Jamaica
104341Saint Kitts and Nevis (Federation of)
105343Saint Lucia
106345Mexico
107347France - Martinique (French Department of)
108348United Kingdom of Great Britain and Northern Ireland - Montserrat
109350Nicaragua
110351Panama (Republic of)
111352Panama (Republic of)
112353Panama (Republic of)
113354Panama (Republic of)
114355Panama (Republic of)
115356Panama (Republic of)
116357Panama (Republic of)
117358United States of America - Puerto Rico
118359El Salvador (Republic of)
119361France - Saint Pierre and Miquelon (Territorial Collectivity of)
120362Trinidad and Tobago
121364United Kingdom of Great Britain and Northern Ireland - Turks and Caicos Islands
122366United States of America
123367United States of America
124368United States of America
125369United States of America
126370Panama (Republic of)
127371Panama (Republic of)
128372Panama (Republic of)
129373Panama (Republic of)
130374Panama (Republic of)
131375Saint Vincent and the Grenadines
132376Saint Vincent and the Grenadines
133377Saint Vincent and the Grenadines
134378United Kingdom of Great Britain and Northern Ireland - British Virgin Islands
135379United States of America - United States Virgin Islands
136401Afghanistan
137403Saudi Arabia (Kingdom of)
138405Bangladesh (People's Republic of)
139408Bahrain (Kingdom of)
140410Bhutan (Kingdom of)
141412China (People's Republic of)
142413China (People's Republic of)
143414China (People's Republic of)
144416China (People's Republic of) - Taiwan (Province of China)
145417Sri Lanka (Democratic Socialist Republic of)
146419India (Republic of)
147422Iran (Islamic Republic of)
148423Azerbaijan (Republic of)
149425Iraq (Republic of)
150428Israel (State of)
151431Japan
152432Japan
153434Turkmenistan
154436Kazakhstan (Republic of)
155437Uzbekistan (Republic of)
156438Jordan (Hashemite Kingdom of)
157440Korea (Republic of)
158441Korea (Republic of)
159443State of Palestine (In accordance with Resolution 99 Rev. Dubai, 2018)
160445Democratic People's Republic of Korea
161447Kuwait (State of)
162450Lebanon
163451Kyrgyz Republic
164453China (People's Republic of) - Macao (Special Administrative Region of China)
165455Maldives (Republic of)
166457Mongolia
167459Nepal (Federal Democratic Republic of)
168461Oman (Sultanate of)
169463Pakistan (Islamic Republic of)
170466Qatar (State of)
171468Syrian Arab Republic
172470United Arab Emirates
173471United Arab Emirates
174472Tajikistan (Republic of)
175473Yemen (Republic of)
176475Yemen (Republic of)
177477China (People's Republic of) - Hong Kong (Special Administrative Region of China)
178478Bosnia and Herzegovina
179501France - Adelie Land
180503Australia
181506Myanmar (Union of)
182508Brunei Darussalam
183510Micronesia (Federated States of)
184511Palau (Republic of)
185512New Zealand
186514Cambodia (Kingdom of)
187515Cambodia (Kingdom of)
188516Australia - Christmas Island (Indian Ocean)
189518New Zealand - Cook Islands
190520Fiji (Republic of)
191523Australia - Cocos (Keeling) Islands
192525Indonesia (Republic of)
193529Kiribati (Republic of)
194531Lao People's Democratic Republic
195533Malaysia
196536United States of America - Northern Mariana Islands (Commonwealth of the)
197538Marshall Islands (Republic of the)
198540France - New Caledonia
199542New Zealand - Niue
200544Nauru (Republic of)
201546France - French Polynesia
202548Philippines (Republic of the)
203550Timor-Leste (Democratic Republic of)
204553Papua New Guinea
205555United Kingdom of Great Britain and Northern Ireland - Pitcairn Island
206557Solomon Islands
207559United States of America - American Samoa
208561Samoa (Independent State of)
209563Singapore (Republic of)
210564Singapore (Republic of)
211565Singapore (Republic of)
212566Singapore (Republic of)
213567Thailand
214570Tonga (Kingdom of)
215572Tuvalu
216574Viet Nam (Socialist Republic of)
217576Vanuatu (Republic of)
218577Vanuatu (Republic of)
219578France - Wallis and Futuna Islands
220601South Africa (Republic of)
221603Angola (Republic of)
222605Algeria (People's Democratic Republic of)
223607France - Saint Paul and Amsterdam Islands
224608United Kingdom of Great Britain and Northern Ireland - Ascension Island
225609Burundi (Republic of)
226610Benin (Republic of)
227611Botswana (Republic of)
228612Central African Republic
229613Cameroon (Republic of)
230615Congo (Republic of the)
231616Comoros (Union of the)
232617Cabo Verde (Republic of)
233618France - Crozet Archipelago
234619Côte d'Ivoire (Republic of)
235620Comoros (Union of the)
236621Djibouti (Republic of)
237622Egypt (Arab Republic of)
238624Ethiopia (Federal Democratic Republic of)
239625Eritrea
240626Gabonese Republic
241627Ghana
242629Gambia (Republic of the)
243630Guinea-Bissau (Republic of)
244631Equatorial Guinea (Republic of)
245632Guinea (Republic of)
246633Burkina Faso
247634Kenya (Republic of)
248635France - Kerguelen Islands
249636Liberia (Republic of)
250637Liberia (Republic of)
251638South Sudan (Republic of)
252642Libya (State of)
253644Lesotho (Kingdom of)
254645Mauritius (Republic of)
255647Madagascar (Republic of)
256649Mali (Republic of)
257650Mozambique (Republic of)
258654Mauritania (Islamic Republic of)
259655Malawi
260656Niger (Republic of the)
261657Nigeria (Federal Republic of)
262659Namibia (Republic of)
263660France - Reunion (French Department of)
264661Rwanda (Republic of)
265662Sudan (Republic of the)
266663Senegal (Republic of)
267664Seychelles (Republic of)
268665United Kingdom of Great Britain and Northern Ireland - Saint Helena
269666Somalia (Federal Republic of)
270667Sierra Leone
271668Sao Tome and Principe (Democratic Republic of)
272669Eswatini (Kingdom of)
273670Chad (Republic of)
274671Togolese Republic
275672Tunisia
276674Tanzania (United Republic of)
277675Uganda (Republic of)
278676Democratic Republic of the Congo
279677Tanzania (United Republic of)
280678Zambia (Republic of)
281679Zimbabwe (Republic of)
282701Argentine Republic
283710Brazil (Federative Republic of)
284720Bolivia (Plurinational State of)
285725Chile
286730Colombia (Republic of)
287735Ecuador
288740United Kingdom of Great Britain and Northern Ireland - Falkland Islands (Malvinas)
289745France - Guiana (French Department of)
290750Guyana
291755Paraguay (Republic of)
292760Peru
293765Suriname (Republic of)
294770Uruguay (Eastern Republic of)
295775Venezuela (Bolivarian Republic of)