get_railways
Get railway infrastructure (rail, subway, tram, stations) as GeoJSON within a specified bounding box from OpenStreetMap.
Instructions
指定した矩形範囲内の鉄道データをGeoJSON形式で取得します。鉄道線路、駅、地下鉄、トラムなどの交通インフラが含まれます。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minLon | Yes | 最小経度(西端) | |
| minLat | Yes | 最小緯度(南端) | |
| maxLon | Yes | 最大経度(東端) | |
| maxLat | Yes | 最大緯度(北端) | |
| railway_type | No | 鉄道タイプフィルター(オプション) | all |
| limit | No | 取得件数の上限(オプション)。1-10000の範囲で指定可能 | |
| output_path | No | 保存先ファイルパス(オプション)。指定するとファイルに保存、指定しないとJSON応答を返す |