# nearest_gas_station_distance_m

> Geodesic distance in metres to the nearest open gas or fueling station (incl.

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

|  |  |
| --- | --- |
| Name | `nearest_gas_station_distance_m` |
| Layer | built\_environment |
| Type, unit | float, meters |
| Sources (in order) | `OVERTURE_PLACES` |
| Cache | 30 days (`ttl_seconds` 2592000) |

## What it is

Geodesic distance in metres to the nearest open gas or fueling station (incl. truck stop) in Overture places (US, confidence >= 0.5, open or unknown status), searched to 100 km.

## Nulls

status "absent": no such place within 100 km. "failed": the stored Overture reference could not be read.

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