nearest_road_of_class
Find the nearest road segment of a specified class to any location. Uses coordinates and road type to return the closest matching road, with radius and geometry options.
Instructions
Find the single closest road segment of a given class to a point
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lng | Yes | ||
| road_class | Yes | ||
| max_radius_m | No | ||
| include_geometry | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |