buildings_in_bbox
Count buildings and dwellings within any LV95 bounding box for sub-municipal analysis, such as estimating new construction in a school district.
Instructions
Aggregate buildings/dwellings inside an LV95 bounding box.
Enables sub-municipal analysis, e.g. school districts: pass the bounding box of a Schulkreis to count new construction within it. LV95 (EPSG:2056): east ~2'480'000-2'840'000, north ~1'070'000-1'300'000.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"e_min": "<e_min>",
"n_min": "<n_min>",
"e_max": "<e_max>",
"n_max": "<n_max>"
},
"name": "buildings_in_bbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| e_max | Yes | ||
| e_min | Yes | ||
| n_max | Yes | ||
| n_min | Yes | ||
| canton | No | zh | |
| since_year | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Data: Federal Register of Buildings and Dwellings (GWR/RegBL), Swiss Federal Statistical Office (BFS) — OGD, free use with attribution. Daily public extract via public.madd.bfs.admin.ch and api3.geo.admin.ch. | |
| bbox_lv95 | Yes | (e_min, n_min, e_max, n_max) | |
| buildings | Yes | ||
| dwellings | Yes | ||
| provenance | Yes | ||
| since_year | Yes | ||
| dwellings_4plus_rooms | Yes |