aspect_cardinal
Slope aspect as one of eight directions (N, NE, E, SE, S, SW, W, NW) of the downhill direction, from the same computation as aspect_degrees.
| Name | aspect_cardinal |
| Layer | terrain |
| Type, unit | string, none |
| Sources (in order) | USGS_3DEP_COG |
| Cache | 30 days (ttl_seconds 2592000) |
What it is
Slope aspect as one of eight directions (N, NE, E, SE, S, SW, W, NW) of the downhill direction, from the same computation as aspect_degrees.
Nulls
status "absent": flat window, no tile, or no-data in the window. "failed": the tile read failed, or the window crosses a tile edge.
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": ["aspect_cardinal"]}'
Field object keys are described in Responses. Live definition: GET /v1/meta/fields.