From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg de:regionalschluessel
Regional key map of 095 in Germany.svg
The regional key is a sequence of digits used to identify politically independent municipalities or areas without a municipality.
Group: references
Used on these elements
should not be used on nodesshould not be used on waysmay be used on areas (and multipolygon relations)may be used on relations
Status: in use

Every municipality/provincial land/district in Germany has its official municipal number/key (AGS), with the length of maximal 8 numbers. There is also another key with the length of 12 numbers, the district number/key. This tag is used for the newer key with 12 numbers.

In OpenStreetMap, this key makes it easier to check boundary relations for correctness and gives other tools such as street comparison a decisive advantage.


The key's composition is as follows:

An example is 14 5 21 5115 430, which references the municipality of Niederwürschnitz

  • 14 Saxony
  • 5 Chemnitz region
  • 21 Erzgebirgskreis district
  • 5115 Lugau town
  • 430 Niederwürschnitz municipality

In states without administrative districts, the 3rd digit is 0.


The key de:regionalschluessel=* with the regional key without spaces is set as the value for the border relations. For urban districts or independent cities (as defined by the Federal Statistical Office of Germany), the keys should always be filled with zeros to 12 digits in order to create a clear distinction from the rural districts.

The de:regionalschluessel=* key can also be used to tag municipal associations, in which case it has 9 digits (shortened by 3 digits, municipality key)).

See also

The following text is a translation of the original article in German, reviewed for rev2264858. Insert all new information or information which are specific to your place before this notice.
Please avoid changing radically this text without translation also updating the original article, and notify the international community or ask for help on this site. Orthographic, grammatical, lexical or stylistic corrections are welcome.