The municipality identifier consists of five digits in Austria, which are generated as follows: The designates the number of the Austrian state, the designate the district, and the designate the municipality.
In Germany the Official Municipality Key serves statistical purposes and is issued by the statistics offices of individual German states. The municipality key is to be indicated in instances such as changing residence on the notice of departure or registration documents. This is done at the registration office in every town's city hall.
Structure
The municipality key consists of eight digits, which are generated as follows: The designate the individual German state. The designates the government district. The designate the number of the urban area or the district. The indicate the municipality or the number of the unincorporated area.
Usually known as the municipal code or, the number comprises nine digits rrppmmbbb, for which rr = region code, pp = province code, code, bbb = barangay code. For example, the municipality of Ubay, Bohol has a code of 071246000 meaning region 07, province 12, municipality 46 with barangay code of zero signifying "not at this level." Bongbong, one of its constituent barangays, has a code of 071246007. The province code is unique and is independent of the region code. All PSGCs, are therefore, unique.
Switzerland
Structure
The Swiss Federal Statistical Office generates code numbers with up to four digits, which are sequentially assigned in accordance with the official order of the cantons, districts, and municipalities.
Cantons
Sweden
A kommunkod is a numerical code given to all Swedish municipalities by the Swedish tax authorities. The code consists of four digits, the first two indicating which county the municipality is situated in, and the last two specific for the municipality. The code system was introduced with the municipal reform of 1952. There were three different categories of municipalities at the time, which affected the number that they were allocated. Those with stad-status were given codes ending in 80 to 99, smaller towns 60 to 79 and rural municipalities 01 to 59. The county seats were allocated codes ending in 80. As part of the reform in the early 1970s, the categorization of municipalities was abolished, but the code was in most cases preserved. When several municipalities were merged, the code for the biggest municipality was kept.