DEM
USGS 3DEP Elevation
3D Elevation Program. Lidar-based elevation for the United States, 1 m to 1/3 arc-second.
The national elevation baseline for the United States, collected mostly by airborne lidar. Seamless 1/3 arc-second DEMs cover the whole country; 1 m DEMs cover wherever lidar has been flown.
- Source
- U.S. Geological Survey
- Resolution
- 1 m (lidar) to 10 m (1/3 arc-second)
- Data type
- Raster and point cloud
- Time span
- Varies by project
- Temporal
- Static, updated by project
- Access type
- API (external) · The National Map API, no key
- Formats
- GeoTIFF, LAZ point clouds
- Coverage
- United States and territories (-180, 17, -64, 72)
- Licence
- Public domain (U.S. Government work)
- Provider page
- www.usgs.gov/3d-elevation-program
Access
tiles1/3 arc-second DEM, current 1° tiles (cloud-optimised GeoTIFF)
1° × 1° tiles named by their north-west corner.
tnm1 m DEM project tiles in the area (The National Map)
curl -fsSL "https://hydrological.org/api/v1/datasets/usgs-3dep/links.txt?bbox=-123,43.5,-121,45.5" \
| xargs -n 1 curl -fLO
import os
import requests
listing = requests.get("https://hydrological.org/api/v1/datasets/usgs-3dep/links.txt?bbox=-123,43.5,-121,45.5")
listing.raise_for_status()
if listing.headers.get("X-Links-Incomplete"):
print("Not every file is listed:", listing.headers["X-Links-Incomplete"])
for url in listing.text.split():
name = url.rsplit("/", 1)[-1]
with requests.get(url, stream=True) as r:
r.raise_for_status()
with open(name + ".part", "wb") as f:
for chunk in r.iter_content(1 << 20):
f.write(chunk)
os.replace(name + ".part", name)
const res = await fetch("https://hydrological.org/api/v1/datasets/usgs-3dep/links?bbox=-123,43.5,-121,45.5");
const { groups } = await res.json();
for (const g of groups) g.links.forEach(l => console.log(l.url));
Also available as JSON: links · manifest · dataset record