suggest_bus_route_ways
Match ordered survey coordinates or a GPX selection to directional OSM ways and preview confirmed bus route road segments before editing.
Instructions
Match ordered survey coordinates or one GPX selection to existing, directional OSM ways. Use input_kind=waypoints for ordered field-observed stops or street turn coordinates. Connected legs up to 2 km are inferred road paths requiring independent confirmation. Dense trace legs accept sampling gaps up to 500 m. provider=editing_api uses the configured map API directly when public Overpass is unavailable. Only bounding boxes leave the server. matched_geojson contains one clipped road line per connected part. geometry_omitted_reason explains when the preview exceeds the output limit. snap_reviews shows nearby OSM segments for ambiguous or explicitly chosen points. Use review_point_indices to inspect up to 20 specific zero-based observation indices, and include_snap_geojson for a map layer. Reuse a reviewed candidate's choice in snap_choices with the same ordered observations to select its versioned road segment. Direction and connectivity are rechecked. Fractions use OSM node order (0 to 1). Inspect gaps, ambiguity, split candidates and turn restrictions before using the ordered way IDs in a route preview. This tool performs no OSM edits.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "suggest_bus_route_ways"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | No | ||
| provider | No | auto | |
| input_kind | No | trace | |
| selection_id | No | ||
| snap_choices | No | ||
| include_snap_geojson | No | ||
| review_point_indices | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||