SCB Geodata — Swedish statistical areas
SCB's open geodata service via GeoServer WFS provides GeoJSON polygons for Swedish statistical areas: RegSO (~3,360 areas), DeSO (~6,160) and urban areas (~2,017). Can be linked to the SCB statistics database (the scb connector) for spatial analysis via RegSO/DeSO codes. CC0, no auth. Complements Lantmäteriet for full Swedish geodata coverage. Issue #1207.
12K rows
Data volume
Yearly
Updates
3
MCP tools
{
"layer": "regso",
"count": 1,
"regions": [
{
"layer": "regso",
"code": "1292R012",
"name": "Ängelholm centrum",
"kommun": "1292"
}
]
}MCP integration
API endpoints
/layersList eksponerte geodatalag
Show curl example
# GET https://data.ketl.no/api/connectors/scb-geodata/layers
curl \
-H "Accept: application/json" \
"https://data.ketl.no/api/connectors/scb-geodata/layers"Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.
/regionsStatistiske områder som GeoJSON. Uten `bbox`/`kommun` returneres første side av laget.
- layer required
- Geografisk lag (SCB statistiske områder)
layer=regso - bbox optional
- Avgrensningsboks som fire komma-separerte tall: minLon,minLat,maxLon,maxLat (WGS84). Annet format gir 400.
bbox=17.8,59.2,18.3,59.5 - kommun optional
- Numerisk svensk kommunekode (1–6 siffer). Annet format gir 400.
kommun=0180 - limit optional
- Maks antall regioner. Verdi utenfor 1–100 gir 400.
limit=20
Show curl example
# GET https://data.ketl.no/api/connectors/scb-geodata/regions?layer=regso
curl \
-H "Accept: application/json" \
"https://data.ketl.no/api/connectors/scb-geodata/regions?layer=regso"Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.
/regionÉn region via kode (CQL-filter)
- layer required
- Geografisk lag (SCB statistiske områder)
layer=regso - code required
- Regionkode i laget
code=1961R007
Show curl example
# GET https://data.ketl.no/api/connectors/scb-geodata/region?layer=regso&code=1961R007
curl \
-H "Accept: application/json" \
"https://data.ketl.no/api/connectors/scb-geodata/region?layer=regso&code=1961R007"Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.