snap_to_roads
Align GPS coordinates to the nearest road segments on OpenStreetMap for accurate location mapping in routing applications.
Instructions
Snap coordinates to nearest road segments
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coordinate | Yes | [longitude, latitude] coordinate to snap | |
| profile | No | Routing profile (default: driving) | |
| number | No | Number of nearest roads to return (default: 1) |