nearest_major_road_class
Overture class of that nearest major road: motorway, trunk, primary or secondary (searched 1 km, then 5 km).
| Name | nearest_major_road_class |
| Layer | built_environment |
| Type, unit | string, none |
| Sources (in order) | OVERTURE_TRANSPORTATION |
| Cache | 28 days (ttl_seconds 2419200) |
What it is
Overture class of that nearest major road: motorway, trunk, primary or secondary (searched 1 km, then 5 km).
Nulls
status "absent": none within 5 km. "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_class"]}'
Field object keys are described in Responses. Live definition: GET /v1/meta/fields.