preview_bus_route
Review a PTv2 bus route direction using ordered OSM way and stop IDs, check path, stops and omitted-stop reasons, then prepare an eligible edit proposal for upload.
Instructions
Review one PTv2 bus direction using existing way and stop node IDs in travel order. Supply surveyed or otherwise OSM-compatible evidence covering the path, direction and stops. Record deliberately omitted stops with reasons. Preserve local names. A public-data inspection needs no login. Set prepare_upload=true to bind an exact eligible proposal to the verified OSM account for apply_osm_edit. The returned GeoJSON can also be opened as a custom map data layer in iD.
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": {
"ref": "<ref>",
"from_name": "<from_name>",
"to_name": "<to_name>",
"way_ids": "<way_ids>",
"stop_ids": "<stop_ids>",
"source": "<source>"
},
"name": "preview_bus_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| name | No | ||
| source | Yes | ||
| network | No | ||
| to_name | Yes | ||
| way_ids | Yes | ||
| operator | No | ||
| stop_ids | Yes | ||
| from_name | Yes | ||
| driving_side | No | right | |
| source_basis | No | unconfirmed | |
| omitted_stops | No | ||
| prepare_upload | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||