# nearest_water_service_area_distance_m

> Geodesic distance in metres to the nearest EPA community water system service-area boundary; 0 inside one.

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

|  |  |
| --- | --- |
| Name | `nearest_water_service_area_distance_m` |
| Layer | utilities |
| Type, unit | float, meters |
| Sources (in order) | `EPA_CWS_SERVICE_AREAS_NEAREST` |
| Cache | 90 days (`ttl_seconds` 7776000) |

## What it is

Geodesic distance in metres to the nearest EPA community water system service-area boundary; 0 inside one. Searched to 50 km.

## Nulls

status "absent": no community water system service area within 50 km. "failed": the EPA layer did not answer.

## 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_water_service_area_distance_m"]}'
```

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).

## Workflows using this field

- [Look up the mapped water system and sewer service area](https://docs.invariant-ai.com/check-water-and-sewer-by-address#look-up-the-mapped-water-system-and-sewer-service-area)
