nearest_waterbody_name
GNIS name of the nearest USGS NHD High Resolution waterbody (lake/pond, reservoir, swamp/marsh, estuary, playa or ice mass; the features NHDPlus HR distributes) within 5 km, searched in 500 m / 2 km / 5 km rings; type, permanent identifier and FDate in notes.
| Name | nearest_waterbody_name |
| Layer | terrain |
| Type, unit | string, none |
| Sources (in order) | USGS_NHD_WATERBODY |
| Cache | 90 days (ttl_seconds 7776000) |
What it is
GNIS name of the nearest USGS NHD High Resolution waterbody (lake/pond, reservoir, swamp/marsh, estuary, playa or ice mass; the features NHDPlus HR distributes) within 5 km, searched in 500 m / 2 km / 5 km rings; type, permanent identifier and FDate in notes.
Nulls
status "absent": the nearest waterbody has no GNIS name, or none within 5 km. "failed": the National Map service did not answer, or equally near waterbodies disagree.
Example
curl -s https://api.invariant-ai.com/v1/fetch \
-H "X-API-Key: $INVARIANT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"lat": 39.0438, "lng": -77.4874, "fields": ["nearest_waterbody_name"]}'
Field object keys are described in Responses. Live definition: GET /v1/meta/fields.