Reference document

Maritime Country Code Handling Application

The Country Codes can be represented either as a two-letter code (alpha-2) which is recommended as the general purpose code, a three-letter code (alpha-3) which is more closely related to the country name and a three digit numeric code (numeric -3) which can be useful if using Latin script is to be avoided [ISO 3166]. NATO has a standard, [STANAG 1059], which is based on ISO 3166-1, 2, and 3 code elements, and extends it with additional codes (each to begin with the character ‘X’), adding further names of entities, countries, territories, or other geographical entities for NATO use such as exercises. The Maritime Country Code Handling Application uses two tables to handle the Country Codes MMSI-Flag Mapping Table is used to derive the flag of an AIS track from the MMSI Number in accordance with International Maritime Organization (IMO) list. The Flag is derived from the first three digits of the MMSI via the official mapping tables from the IMO. NATO Standard Country Codes Table is constructed in accordance with STANAG 1059, supporting both two-letter and three-letter Country Codes. It will also indicate the NATO Nations and exercise codes. The codes defined in this table will also be used for displaying the flag icons together with the object symbols in the GeoView. The Maritime Country Code Handling Application uses the Country Names based on the Country Codes included in a track report, particularly in an AIS message. The Flag of an AIS track is derived based on its MMSI Number automatically or manually.

Maritime Information Management Applications