Osrm Match
osrm_matchMap-match a noisy GPS trace (semicolon-separated lon,lat pairs) to the road network via OSRM, optionally specifying per-point search radiuses in meters; returns matched route geometry and confidence.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"coordinates": "-122.42,37.77;-122.39,37.78;-122.41,37.80"
},
"name": "osrm_match"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | ||
| radiuses | No | Per-point search radius in meters, semicolon-separated | |
| coordinates | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Status code (Ok or error) | |
| matchings | No | Array of matched route segments | |
| tracepoints | No | Array of matched trace points |