Get an API key
Fields · built_environment

nearest_major_road_name

Name of the nearest major road (Overture motorway / trunk / primary / secondary) within 5 km.

Name nearest_major_road_name
Layer built_environment
Type, unit string, none
Sources (in order) OVERTURE_TRANSPORTATION
Cache 28 days (ttl_seconds 2419200)

What it is

Name of the nearest major road (Overture motorway / trunk / primary / secondary) within 5 km.

Nulls

status "absent": none within 5 km, or the nearest segment is unnamed. "failed": the reference could not be read, or equally near segments disagree.

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

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