# nearest_flowline_name

> GNIS name of the nearest USGS NHDPlus HR stream/river flowline (StreamRiver FType 460 or ArtificialPath 558, network and non-network layers) within 5 km; distance in the notes.

Source: https://docs.invariant-ai.com/fields/nearest_flowline_name

|  |  |
| --- | --- |
| Name | `nearest_flowline_name` |
| Layer | terrain |
| Type, unit | string, none |
| Sources (in order) | `USGS_NHDPLUS_HR` |
| Cache | 90 days (`ttl_seconds` 7776000) |

## What it is

GNIS name of the nearest USGS NHDPlus HR stream/river flowline (StreamRiver FType 460 or ArtificialPath 558, network and non-network layers) within 5 km; distance in the notes.

## Nulls

status "absent": no stream/river flowline within 5 km, or the nearest one has no GNIS name. "failed": the National Map service did not answer or returned an incomplete result, or several flowlines are equally near and carry different names.

## Example

```bash
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_flowline_name"]}'
```

Field object keys are described in [Responses](https://docs.invariant-ai.com/responses). Live definition: [`GET /v1/meta/fields`](https://docs.invariant-ai.com/api/meta-fields).
