DEM, DTM and DSM Explained: Understanding Elevation Models
Three elevation models that are constantly confused, and why the difference matters for any engineering decision that depends on terrain.

The umbrella and the two under it
DEM — Digital Elevation Model is the general term for any raster representation of terrain elevation. Under it sit two models that are constantly confused but serve different purposes:
- DTM — Digital Terrain Model: the bare-earth surface. Buildings, vegetation and other above-ground objects are removed. This is the ground.
- DSM — Digital Surface Model: the surface including everything on it — rooftops, tree canopy, vehicles. This is the top of the world as seen from above.
Why the difference matters
Many engineering decisions depend on the ground, not the surface. A flood model needs the DTM; using a DSM leaves water perched on treetops. A line-of-sight analysis for a communications tower needs the DSM; using a DTM ignores the buildings that actually block the view. Confusing the two produces confident but wrong results.
How each is derived
- Photogrammetry produces a DSM directly — image matching sees surfaces, not bare earth. A DTM requires filtering and classification to remove above-ground objects, and it cannot see the ground under dense vegetation.
- LiDAR can produce both. Multiple returns let it distinguish canopy from ground, so a classified LiDAR dataset yields a true DTM even under vegetation — its key advantage for terrain work.
Contours and hillshade
Contours are lines of equal elevation derived from an elevation model — and they inherit whatever model they are drawn from. A contour from a DSM weaves over rooftops; a contour from a DTM follows the ground. Hillshade is a visual shading of an elevation model that reveals relief; it is a presentation, not a measurement, but it makes terrain legible.
Coordinate grid, datum and vertical datum
An elevation model is meaningless without its reference frame:
- Horizontal datum — e.g. WGS 84 — defines the coordinate grid.
- Vertical datum — the reference for elevation itself (e.g. a geoid or local mean sea level) — defines what "zero" means.
- CRS / EPSG — the coordinate reference system that ties the model to a specific frame.
Elevations from different vertical datums are not directly comparable. Stating the datum is part of stating the elevation.
Choosing the right model
- Hydrology, flood, drainage, earthwork, grading → DTM.
- Line-of-sight, viewshed, radio coverage, obstacle detection → DSM.
- Volumetric stockpile measurement → depends on what is being measured; be explicit.
The responsible rule
Always state which model a deliverable is, and which datum and vertical datum it references. "Elevation" without those qualifiers is ambiguous — and ambiguity in terrain data becomes error in the engineering that depends on it.

