---
id: "at_kg_number"
kind: "datatype"
status: "draft"
is_pii: false
name: "Austrian cadastral municipality number (KG-Nummer)"
regexp: "^(?:0[1-9]|[1-8]\\d|9[0-2])\\d{3}$"
categories: ["geo", "realestate"]
country: ["AT"]
langs: ["common"]
quality: 100
url: "https://registry.apicrafter.io/datatype/at_kg_number"
---

# Austrian cadastral municipality number (KG-Nummer) (`at_kg_number`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Five-digit number of an Austrian cadastral municipality (Katastralgemeinde), the unit in which the Federal Office of Metrology and Surveying (BEV) keeps the cadastre and the courts keep the land register. Numbers run from 01002 to 92129 and are written with the leading zero; the 01 numbers are in Vienna. A cadastral municipality is not a municipality: a municipality (at_gkz) usually holds several of them, and the number is a different code. BEV files call the field KG_NUMMER, KG-NR or KG, and KG-EZ for the cadastral municipality of a land register entry. Read as integers, numbers of Vienna lose the zero (1204).

- Parent datatype: [`id`](https://registry.apicrafter.io/datatype/id.md)
- Personal data (PII): no
- Categories: Geographic identifiers (geo), Real estate (realestate)
- Countries: Austria (AT)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:0[1-9]|[1-8]\d|9[0-2])\d{3}$
```

## Examples

- `01002` — lowest number of the range
- `01204` — cadastral municipality of a triangulation point in the 14th district of Vienna (BEV)
- `73518` — cadastral municipality in Carinthia (BEV control points)
- `1204` (invalid example) — leading zero lost
- `93001` (invalid example) — beyond the range

## Mappings

- wikidata: [`P8322`](https://www.wikidata.org/wiki/Property:P8322)

## Metacrafter rules

2 rules: 2 match the field name, 0 match values.

- `atkgnumberbyname` (field, `at/at_geo.yaml`)
- `atkgnumberbyshortname` (field, `at/at_geo.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- de: Katastralgemeindenummer

## Sources

- wikipedia: <https://de.wikipedia.org/wiki/Katastralgemeinde>
- wikidata: <https://www.wikidata.org/wiki/Property:P8322>
- doc: <https://www.bev.gv.at/Services/Produkte/Kataster-und-Verzeichnisse/Kataster-Stichtagsdaten.html>

## Quality

Score 100/100.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/at_kg_number.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/AT/geo/at_kg_number.yaml>
