get_buildings
Retrieve building data from OpenStreetMap in GeoJSON format for a specified bounding box. Optionally filter by building type such as residential or commercial.
Instructions
指定した矩形範囲内の建物データをGeoJSON形式で取得します。建物タイプでフィルタリング可能です。
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": {
"minLon": "<minLon>",
"minLat": "<minLat>",
"maxLon": "<maxLon>",
"maxLat": "<maxLat>"
},
"name": "get_buildings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minLon | Yes | 最小経度(西端) | |
| minLat | Yes | 最小緯度(南端) | |
| maxLon | Yes | 最大経度(東端) | |
| maxLat | Yes | 最大緯度(北端) | |
| building_type | No | 建物タイプフィルター(オプション) | all |
| limit | No | 取得件数の上限(オプション)。1-10000の範囲で指定可能 | |
| output_path | No | 保存先ファイルパス(オプション)。指定するとファイルに保存、指定しないとJSON応答を返す |