Hoheitsgebiete & Gemeinde/Unités adminitratives & communes - Switzerland
This dataset is part of the Geographical repository maintained by Opendatasoft. This dataset contains data for Districts in Switzerland in 2023. The data source is swissBOUNDARIES3D , produced by swisstopo . All names provided are names in the local language. Available levels Cantons Districts Mu...
Trust score
How is this computed?Weighted across five axes. Tap a ring for what it measures.
Data schema (11 fields)
Click a field to see example values.
| Fill | Field | Type | Description |
|---|---|---|---|
| — | geo_point_2dGeo Point | geo_point_2d | — |
| — | geo_shapeShape | geo_shape | — |
| — | year | date | — |
| — | kan_codeOfficial code Kanton | text | — |
| — | kan_nameOfficial Name Kanton | text | — |
| — | bez_codeOfficial code Bezirk | text | — |
| — | bez_nameOfficial Name Bezirk | text | — |
| — | gem_codeOfficial code Gemeinde / Hoheitsgebiete | text | — |
| — | gem_nameOfficial Name Gemeinde / Hoheitsgebiete | text | — |
| — | gem_area_codeIso 3166-3 Area Code | text | — |
| 100% | gem_typeType | text | — |
Schema captured from opendatasoft 1 hour ago.
Query the data
Pick columns and a sort, then fetch a live preview straight from the source. Choose an API-filterable column (marked ▾) under “Where” to pick from its list of values.
Sample data (5 records)
Record 1year: 2025 · bez_code: ["2105"]
{
"year": "2025",
"bez_code": [
"2105"
],
"bez_name": [
"Lugano"
],
"gem_code": [
"5151"
],
"gem_name": [
"Bioggio"
],
"gem_type": "Gemeindegebiet",
"kan_code": [
"21"
],
"kan_name": [
"Ticino"
],
"geo_shape": "[large value omitted]",
"geo_point_2d": {
"lat": 46.0152496369722,
"lon": 8.901914007559144
},
"gem_area_code": "CHE"
}Record 2year: 2025 · bez_code: ["2106"]
{
"year": "2025",
"bez_code": [
"2106"
],
"bez_name": [
"Mendrisio"
],
"gem_code": [
"5257"
],
"gem_name": [
"Morbio Inferiore"
],
"gem_type": "Gemeindegebiet",
"kan_code": [
"21"
],
"kan_name": [
"Ticino"
],
"geo_shape": "[large value omitted]",
"geo_point_2d": {
"lat": 45.849656836686506,
"lon": 9.021481379643209
},
"gem_area_code": "CHE"
}Record 3year: 2025 · bez_code: ["2108"]
{
"year": "2025",
"bez_code": [
"2108"
],
"bez_name": [
"Vallemaggia"
],
"gem_code": [
"5307"
],
"gem_name": [
"Campo (Vallemaggia)"
],
"gem_type": "Gemeindegebiet",
"kan_code": [
"21"
],
"kan_name": [
"Ticino"
],
"geo_shape": "[large value omitted]",
"geo_point_2d": {
"lat": 46.27762568579826,
"lon": 8.492408178023295
},
"gem_area_code": "CHE"
}Record 4year: 2025 · bez_code: ["2108"]
{
"year": "2025",
"bez_code": [
"2108"
],
"bez_name": [
"Vallemaggia"
],
"gem_code": [
"5315"
],
"gem_name": [
"Linescio"
],
"gem_type": "Gemeindegebiet",
"kan_code": [
"21"
],
"kan_name": [
"Ticino"
],
"geo_shape": "[large value omitted]",
"geo_point_2d": {
"lat": 46.31227572273544,
"lon": 8.576968273535808
},
"gem_area_code": "CHE"
}Record 5year: 2025 · bez_code: ["2104"]
{
"year": "2025",
"bez_code": [
"2104"
],
"bez_name": [
"Locarno"
],
"gem_code": [
"5399"
],
"gem_name": [
"Verzasca"
],
"gem_type": "Gemeindegebiet",
"kan_code": [
"21"
],
"kan_name": [
"Ticino"
],
"geo_shape": "[large value omitted]",
"geo_point_2d": {
"lat": 46.30238991690725,
"lon": 8.812659148034461
},
"gem_area_code": "CHE"
}Live sample captured at profiling time — values may have changed upstream.
Using the API
Configuration
- Base URL
- https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-switzerland-gemeinde
License
Terms stated by the source (not a recognized license):
https://opendata.swiss/en/terms-of-use/#terms_by_ask
Query examples
curl -s 'https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-switzerland-gemeinde/records?limit=20' -H 'Accept: application/json'First 20 records of the dataset as JSON.
Uses the Opendatasoft Explore v2.1 syntax — supports select, where, group_by and order_by.
Rate limits
Dataset
Volume & freshness
License
No license declared upstream.
Source: opendatasoft
Machine-readable & source
Embed this badge in a README or wiki — it always shows the latest verification state and quality tier.