Find NHD Point & Line Water Features
hydro_find_water_featuresFind springs, waterfalls, dams, and levees in a given area using USGS hydrography data. Specify a point, polygon, or bounding box to identify intersecting NHD point and line features.
Instructions
Find NHD point & line water features (springs, waterfalls, dams, gates, levees, ...).
Queries NHDPoint (layer 2) and/or NHDLine (layer 7) intersecting the geometry. Both carry gnis_name and ftype/fcode; point features also carry reachcode.
Use when: "Are there any waterfalls or springs near this point?", "What dams/weirs cross this river within the bounding box?"
Because these are point/line features, supply a Polygon or BoundingBox to find features within an area.
Returns: { "finding": str, "point": {count, truncated, features, provenance}, # if requested "line": {count, truncated, features, provenance}, # if requested "query_geometry": {"type": str, "crs_epsg": int} }
ftype/fcode are integer codes; ftype_label/fcode_label give readable names.
Error responses:
"Error: supply either lat+lon or geometry, not both (or neither)"
"Error: unsupported geometry type ..."
"Error: NHDPlus HR request failed: ..."
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude in decimal degrees (WGS84). Use with 'lon'. Omit when supplying 'geometry'. | |
| lon | No | Longitude in decimal degrees (WGS84). Use with 'lat'. Omit when supplying 'geometry'. | |
| geometry | No | GeoJSON geometry object as a JSON string. Supported types: Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, or BoundingBox shorthand {"type": "BoundingBox", "bbox": [minLon, minLat, maxLon, maxLat]}. All coordinates must be WGS84 decimal degrees. Supply either this OR lat+lon, not both. Use a Polygon or BoundingBox to capture nearby point/line features. | |
| feature_class | No | Which layer(s) to query: 'point' (springs/waterfalls/dams/gates/wells), 'line' (dams/gates/walls/levees/bridges), or 'both'. Default 'both'. | both |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||