get_buildings
Retrieve building data from OpenStreetMap within a bounding box and output as GeoJSON. Optionally filter by building type and set result limit.
Instructions
指定した矩形範囲内の建物データをGeoJSON形式で取得します。建物タイプでフィルタリング可能です。
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応答を返す |