get_roads
Retrieve road network data as GeoJSON within a specified bounding box, with optional filtering by road types such as motorway, primary, or residential.
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_roads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minLon | Yes | 最小経度(西端) | |
| minLat | Yes | 最小緯度(南端) | |
| maxLon | Yes | 最大経度(東端) | |
| maxLat | Yes | 最大緯度(北端) | |
| road_types | No | 道路タイプフィルター(複数選択可) | |
| limit | No | 取得件数の上限(オプション)。1-10000の範囲で指定可能 | |
| output_path | No | 保存先ファイルパス(オプション)。指定するとファイルに保存、指定しないとJSON応答を返す |