# elevation

> Ground elevation in metres from the USGS 3D Elevation Program.

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

|  |  |
| --- | --- |
| Name | `elevation` |
| Layer | terrain |
| Type, unit | float, meters |
| Sources | `USGS_3DEP_COG` first (3DEP 1/3 arc-second DEM tiles), then `USGS_EPQS` (USGS Elevation Point Query Service) as fallback |
| Cache | 24 hours (`ttl_seconds` 86400) |

## What it is

The ground elevation at the point from the USGS 3D Elevation Program (3DEP). We sample the 1/3 arc-second seamless DEM (about 10 m pixels) directly from the USGS cloud-optimized GeoTIFF tiles, so `source_url` is the exact tile the value came from and `dataset_vintage` names the product, edition and tile.

When no 1/3 arc-second tile covers the point, or the tile read fails, we ask the USGS Elevation Point Query Service instead. `source` then reads `USGS_EPQS`, and `dataset_vintage` reports the resolution, raster and acquisition date EPQS published.

## Vertical datum

NAVD88 inside the conterminous United States (lat 24 to 50, lng -125.5 to -66). Outside it, in Alaska, Hawaii and the territories, the datum follows the local 3DEP source and is not asserted; `notes` says so.

## Confidence

| Source resolution | `confidence` |
| --- | --- |
| 1 m or finer (possible on the EPQS fallback) | `high` |
| Up to 10 m (the 1/3 arc-second tiles) | `medium` |
| Coarser than 10 m | `low` |
| Not reported | `unknown` |

## Nulls

| `status` | Meaning |
| --- | --- |
| `absent` | 3DEP has no elevation here: the tile pixel is no-data, or no 3DEP source covers the point. |
| `failed` | Neither source answered: the tile read failed and EPQS timed out (20 seconds) or returned an error. `notes` lists each source's error. Retry. |

## Example

```json
"elevation": {
  "value": 1596.401733398,
  "unit": "meters",
  "status": "ok",
  "source": "USGS_3DEP_COG",
  "source_url": "https://prd-tnm.s3.amazonaws.com/StagedProducts/Elevation/13/TIFF/current/n40w105/USGS_13_n40w105.tif",
  "confidence": "medium",
  "dataset_vintage": "USGS 3DEP 1/3 arc-second seamless DEM, current edition; tile n40w105; nominal resolution 10 m",
  "notes": "metres; vertical datum NAVD88"
}
```

Denver, Colorado (39.7392, -104.9903).
