Nearest River Mile Marker to a Location
usace_rivermile_nearestIdentifies the closest USACE river mile marker to a given latitude and longitude coordinate, answering 'what river mile am I at?' and returning its distance and bearing.
Instructions
Return the single closest river mile marker to a WGS84 coordinate.
Answers "what river mile am I at?" / "nearest marker to this point". Searches within max_radius_meters and returns the nearest marker with its great-circle distance, plus a plain-language finding.
Returns: { "finding": str, # e.g. "Nearest marker: RED River, Mile 111, ~180 m NE" "found": bool, "nearest": { name, MILE, RIVER_NAME, RIVER_CODE, RIVER_NUMB, LONGITUDE1, LATITUDE1, SOURCE, distance_m, bearing } | null, "candidates_searched": int, "query": { "lat": float, "lon": float, "max_radius_meters": float, "crs_epsg": int }, "provenance": { source agency, dataset, service URL, layer, CRS, retrieved_utc } }
Error responses:
"Error: River Mile request failed: ..."
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude in decimal degrees (WGS84). | |
| lon | Yes | Longitude in decimal degrees (WGS84). | |
| max_radius_meters | No | Maximum search radius in meters. If no marker is found within this radius, the tool reports none found. Default 50000 (50 km). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||