Get an API key
Fields · terrain

nearest_wetland_distance_m

Geodesic distance in metres to the nearest NWI wetland polygon edge within 500 m; 0 inside a wetland.

Name nearest_wetland_distance_m
Layer terrain
Type, unit float, meters
Sources (in order) USFWS_NWI
Cache 30 days (ttl_seconds 2592000)

What it is

Geodesic distance in metres to the nearest NWI wetland polygon edge within 500 m; 0 inside a wetland. Boundaries generalized about 2 m.

Nulls

status "absent": no NWI wetland within 500 m. "failed": the NWI service did not answer, returned an incomplete result, or a polygon had no usable geometry.

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_wetland_distance_m"]}'

Field object keys are described in Responses. Live definition: GET /v1/meta/fields.