Datatypes

German municipality key (Amtlicher Gemeindeschlüssel, AGS)

ID de_ags

DatatypeNot PIIidentifier

Eight-digit official code of a German municipality that the statistical offices publish in the municipality directory (Gemeindeverzeichnis): two digits for the state (01 Schleswig-Holstein to 16 Thüringen), one for the government region, two for the district and three for the municipality. The first five digits are the district key (Kreisschlüssel).

Categories
Geographic identifiers
Countries
Germany
Languages
Common to most languages
Wikidata
P439
Quality
90/100 · missing: detector coverage
Metacrafter rules
no detection rule yet
Supported by tools
no tool record lists this type yet

Regular expression

^(?:0[1-9]|1[0-6])\d{6}$

Python re syntax.

Examples

ValueDescription
03459033Wallenhorst
12060020Bernau bei Berlin
3459033 invalidLeading zero dropped
17060020 invalidThere is no state 17

Translations

LanguageNameDescription
GermanAmtlicher Gemeindeschlüssel (AGS)
RussianОфициальный код общины Германии (AGS)Восьмизначный код общины - две цифры земли, одна цифра административного округа, две цифры района и три цифры общины.

Sources

Use this record