geo_navigate
Navigation operations: route, matrix, isochrone, map_match, snap, and optimize. Route accepts 2–10 waypoints and optional elevation profiles. Matrix supports up to 625 pairs. Map matching accepts up to 1,000 trace points; optimization accepts 3–20 stops. Results include geometry or travel costs and source metadata. Requires a subscription key. Unroutable requests return an error and require revised inputs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| costing | No | Travel mode used to weight the road graph. | auto |
| sources | No | matrix only: the origins. | |
| targets | No | matrix only: the destinations. Omit for a square matrix of sources against themselves. | |
| contours | No | isochrone only: travel-time bands in minutes. | |
| elevation | No | route only: also return a sampled terrain profile with total gain and loss. | |
| locations | No | Waypoints for route and optimize, points for snap, or the ordered trace for map_match. For isochrone, the single origin. | |
| operation | Yes | route: turn-by-turn between waypoints. matrix: many-to-many times and distances. isochrone: reachable-area polygons. map_match: fit a GPS trace to the road network. snap: nearest network point. optimize: best visit order. |