Skip to content

Digital Terrain Models Explained: DEM, DSM and DTM for Engineering

The difference between DEM, DSM and DTM, how terrain models are produced from LiDAR and photogrammetry, how resolution and accuracy are defined, and how infrastructure projects use them for drainage, slope, volumes and depth of cover.

Contour lines rendered in blue tones

Terrain models describe the shape of the Earth’s surface in digital form. They underpin drainage design, earthwork calculations, corridor planning, flood studies, slope stability assessments and many inspection workflows. The terminology can be confusing, and choosing the wrong type of model can lead to wrong conclusions — for example, calculating slopes on treetops instead of the ground.

DEM, DSM and DTM

Digital Surface Model (DSM)

A model of the highest surface seen by the sensor: the top of vegetation, buildings, structures and the ground where it is exposed.

Digital Terrain Model (DTM)

A model of the bare earth with vegetation and structures removed. In engineering usage it is often enhanced with breaklines — lines along ridges, ditches, curbs and water edges — that preserve sharp changes in slope.

Digital Elevation Model (DEM)

A general term for gridded elevation data. In U.S. federal programs such as the USGS 3D Elevation Program, “DEM” refers to bare-earth elevation surfaces.

Profile showing a surface model over trees and buildings compared with a bare-earth terrain model and contours
The DSM follows canopy and structures; the DTM follows the ground.

Raster grids and TINs

Terrain models are stored either as raster grids, where each cell holds an elevation value, or as triangulated irregular networks (TINs), which connect measured points with triangles. Grids are efficient for analysis over large areas; TINs preserve the exact position of survey points and breaklines and are common in civil engineering software.

How terrain models are produced

From LiDAR

LiDAR point clouds are classified to identify ground points. Ground points are interpolated into a DTM; first returns or highest points produce a DSM. Because LiDAR pulses pass through gaps in vegetation, it is the preferred technique for ground models in forested areas.

From photogrammetry

Photogrammetric processing produces a DSM of visible surfaces. Filtering can derive a DTM in open terrain, but where vegetation is dense the ground is not visible and the result is unreliable. See LiDAR vs. photogrammetry.

From ground survey

Total stations and GNSS receivers measure points and breaklines directly. Ground survey offers high accuracy for small areas and is often used to control and verify aerial surveys.

Resolution and accuracy

Resolution (cell size) describes how finely the surface is sampled. Accuracy describes how close elevations are to the true ground. A 10 cm grid interpolated from sparse or inaccurate points is not accurate just because it is detailed.

Accuracy is verified by comparing the model with independent checkpoints and is reported following the ASPRS Positional Accuracy Standards, often separately for non-vegetated and vegetated areas. Contour intervals should be consistent with the vertical accuracy of the data.

Engineering uses

UseModelTypical outputs
Drainage and gradingDTM with breaklinesFlow paths, watersheds, design surfaces
Earthwork and stockpile volumesDTM or DSM vs. base surfaceCut and fill quantities
Slope stability and geohazardsDTMSlope maps, change between surveys
Corridor and route planningDTM, DSMProfiles, sections, access feasibility
Depth of cover over pipelinesDTM + pipe elevationsCover estimates along the centerline
Line-of-sight and obstructionDSMVisibility and clearance analysis
Flood studiesDTMInundation and hydraulic modeling inputs
Engineering applications of terrain models.

Public elevation data

The USGS 3D Elevation Program (3DEP) provides LiDAR-derived elevation data across much of the United States, available through The National Map. It is valuable for planning and regional analysis. Project-specific surveys are needed when the public data is older than recent changes, too coarse, or not accurate enough for design.

Change detection

Comparing terrain models from different dates measures erosion, deposition, settlement and construction progress. Reliable comparison requires both surveys to be in the same datum and of sufficient accuracy that real change exceeds measurement uncertainty.

Sources and further reading

  1. U.S. Geological Survey, 3D Elevation Program (3DEP)
  2. U.S. Geological Survey, The National Map
  3. U.S. Geological Survey, Lidar Base Specification
  4. American Society for Photogrammetry and Remote Sensing, ASPRS

Discuss your project with Vector

Tell us about the assets, the area and the decisions the data must support. Our technical team will reply with scope options and next steps.