get_amenities
Retrieve amenities (restaurants, hospitals, schools) within a bounding box as GeoJSON. Filter by specific amenity type and limit results for efficient OpenStreetMap data collection.
Instructions
指定した矩形範囲内のアメニティ(施設・設備)をGeoJSON形式で取得します。レストラン、病院、学校などのPOI(興味のある地点)データが含まれます。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minLon | Yes | 最小経度(西端) | |
| minLat | Yes | 最小緯度(南端) | |
| maxLon | Yes | 最大経度(東端) | |
| maxLat | Yes | 最大緯度(北端) | |
| amenity_type | No | アメニティタイプ(例: restaurant, hospital, school, bank, cafe) | all |
| limit | No | 取得件数の上限(オプション)。1-10000の範囲で指定可能 | |
| output_path | No | 保存先ファイルパス(オプション)。指定するとファイルに保存、指定しないとJSON応答を返す |