# roads_within_500m_count

> Number of Overture road segments (any class) within 500 m.

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

|  |  |
| --- | --- |
| Name | `roads_within_500m_count` |
| Layer | built\_environment |
| Type, unit | integer, none |
| Sources (in order) | `OVERTURE_TRANSPORTATION_TILES` |
| Cache | 30 days (`ttl_seconds` 2592000) |

## What it is

Number of Overture road segments (any class) within 500 m. Segments are map pieces between connectors, not distinct roads.

## Nulls

Never absent (0 when there are none). "failed": Overture tiles could not be read, or equally near segments disagree (listed).

## 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": ["roads_within_500m_count"]}'
```

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