Get an API key
Fields · built_environment

nearest_road_distance_m

Distance in metres to the nearest Overture road segment of any class (motorway to service road, track and path) within 500 m.

Name nearest_road_distance_m
Layer built_environment
Type, unit float, meters
Sources (in order) OVERTURE_TRANSPORTATION_TILES
Cache 30 days (ttl_seconds 2592000)

What it is

Distance in metres to the nearest Overture road segment of any class (motorway to service road, track and path) within 500 m.

Nulls

status "absent": no road segment within 500 m. "failed": Overture tiles could not be read, or equally near segments disagree (listed).

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

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