Query up to 15 geo.admin.ch layers at a point, radius or bbox
query_layer_at_pointRead attributes of Swiss federal map layers at a WGS84 point, within a radius, or inside a bbox; query up to 15 layers per call, with results grouped by layer.
Instructions
Read the attributes of any federal map layers at a WGS84 location: point-in-polygon (radius_m=0), everything within a radius in metres (e.g. antennas within 300 m), or everything inside a bbox. Up to 15 layers per call; results grouped per layer, with per-layer errors isolated if a layer id is bad. Examples: layers='ch.bafu.laerm-strassenlaerm_tag,ch.bag.radonkarte', lat=46.948, lon=7.4474; layers='ch.bakom.standorte-mobilfunkanlagen', radius_m=300, return_geometry=true. Use search_map_layers to find layer ids; for a ready-made multi-layer summary use get_location_report.
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": {
"layers": "<layers>"
},
"name": "query_layer_at_point"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | WGS84 latitude, e.g. 46.9480 (Switzerland ≈ 45.8–47.8) | |
| lon | No | WGS84 longitude, e.g. 7.4474 (Switzerland ≈ 5.9–10.5) | |
| bbox | No | Alternative to lat/lon: WGS84 bbox [minLon,minLat,maxLon,maxLat], max ~5 km per side | |
| lang | No | Language for labels/attributes: de, fr, it, rm or en (default en) | en |
| layers | Yes | Comma-separated layer ids (max 15), e.g. 'ch.bafu.laerm-strassenlaerm_tag,ch.are.bauzonen' | |
| radius_m | No | Search radius in metres around lat/lon (0 = exactly at the point; max 2000) | |
| time_instant | No | Year for time-enabled layers (see get_layer_info) | |
| per_layer_limit | No | Max features returned per layer (default 5) | |
| return_geometry | No | Include a WGS84 anchor point per feature (useful with radius/bbox) |