olamap_snap_to_road
Align raw GPS coordinates to the nearest road network, correcting off-road points into route-ready locations for mapping and trip planning.
Instructions
Snap GPS coordinates to the nearest road network
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": {
"points": "<points>"
},
"name": "olamap_snap_to_road"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | Array of coordinates to snap as ["lat,lng", ...] | |
| enhancePath | No | Add intermediate points | |
| interpolate | No | Interpolate between points |