Skip to content

Build a topography grid from 3DEP

You are viewing in-progress documentation for v2 (Beta). Switch to the stable version for the current production release.

Fire spreads uphill, and slope and aspect drive that. This guide builds a topography grid — elevation, slope, and aspect — for your domain from the USGS 3DEP elevation program.

  1. An API key: my-api-key.

  2. A domain within CONUS: your-domain-id. See Create a domain.

3DEP publishes seamless 10 m and 30 m DEMs nationwide, plus 1 m lidar where it’s been flown. Before requesting high-resolution data, check what’s available over your domain:

GET topography/3dep/coverage
curl -X 'GET' \
'https://api-v2-prod-nyvjyh5ywa-uw.a.run.app/domains/your-domain-id/grids/topography/3dep/coverage' \
-H 'accept: application/json' \
-H 'api-key: my-api-key'

Here available: false means no 1 m lidar tiles intersect this domain — so fall back to the seamless 10 m DEM (the default). When 1 m lidar is available, tiles and acquisition_dates list what would be used.

source_resolution picks the 3DEP product to sample (10 for the seamless 10 m DEM; 1 only where the coverage check reports it). bands selects which surfaces to compute — slope and aspect are derived from the elevation surface.

POST topography/3dep
curl -X 'POST' \
'https://api-v2-prod-nyvjyh5ywa-uw.a.run.app/domains/your-domain-id/grids/topography/3dep' \
-H 'accept: application/json' \
-H 'api-key: my-api-key' \
-H 'Content-Type: application/json' \
-d '{
"name": "Topography (3DEP 10 m)",
"source_resolution": 10,
"bands": ["elevation", "slope", "aspect"]
}'

Record the grid id: your-grid-id.

GET grid status
curl -X 'GET' \
'https://api-v2-prod-nyvjyh5ywa-uw.a.run.app/domains/your-domain-id/grids/your-grid-id' \
-H 'accept: application/json' \
-H 'api-key: my-api-key'

The three bands come back with units m (elevation) and deg (slope, aspect). On the Blue Mountain domain elevation runs ≈957–1170 m up the valley flank — real sampled terrain, not a placeholder.

  • Requesting source_resolution: 1 where lidar isn’t flown. The coverage check (step 1) tells you up front — if available is false, use 10.
  • Domain outside CONUS. 3DEP is a US program; domains elsewhere have no coverage.
  • Expecting slope/aspect without elevation. They’re derived from the elevation surface; the service computes them from the sampled DEM, so just list the bands you want.