Datatypes › Switzerland › Real estate
Swiss federal building identifier (EGID)
ID ch_egid
DatatypeNot PIIidentifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Number that the Federal Register of Buildings and Dwellings (GWR) of the Swiss Federal Statistical Office gives every building in Switzerland. It is a whole number from 1 to 900 000 000, is unique across the country and does not change while the building stands. Cantonal and municipal registers, the cadastral survey and energy and address datasets carry it in a field named EGID.
- Parent datatype
- Unique identifier
id - Categories
- Real estate, Government related
- Countries
- Switzerland
- Languages
- Common to most languages
- Wikidata
- P9665
- Quality
- 100/100
- Metacrafter rules
- 1 rule (1 by field name, 0 by value)
chegidbynamefield, ch/ch_codes.yaml
- Supported by tools
- metacrafter
Regular expression
^(?:[1-9]\d{0,7}|[1-8]\d{8}|900000000)$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 2347546 | a building in the canton of Basel-Landschaft (open data of data.bl.ch) |
| 245066895 | a nine-digit EGID of the same register |
| 900000001 invalid | above the range of the register |
| 0 invalid |
Translations
| Language | Name | Description |
|---|---|---|
| German | Eidgenössischer Gebäudeidentifikator (EGID) | |
| French | Identificateur fédéral de bâtiment (EGID) | |
| Russian | Федеральный идентификатор здания Швейцарии (EGID) |
Sources
- doc: dam-api.bfs.admin.ch/hub/api/dam/assets/7008785/master
- wikidata: wikidata.org/wiki/Property:P9665
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/ch_egid - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/CH/realestate/ch_egid.yamlon GitHub