Surface and terrain models — study guide
The concept's fragments, read in order.
Two elevation grids from one flight
A mapping flight ends, once the photos have been matched and turned into a dense point cloud, with millions of measured points and no surface at all. Nobody can draw a contour through a scatter of points, so the software lays a grid over the site and gives every square one height. It does this twice, and the two grids answer different questions.
The first is a surface model: the height of whatever the camera saw first from above. On the 16-hectare grading site that means the tops of the trees along the west edge, the roof of any vehicle parked on site, the stockpiles, and the open ground everywhere else. The second is a terrain model of the bare earth: the same grid with the trees, the vehicles and anything else standing on the ground taken out, and the ground beneath them filled in by estimate, much as a sheet thrown over a room full of furniture shows the tops of the chairs and tables, while the floor underneath has to be pieced together from the bits of it still showing. The contractor's 1-foot contours come from the second one.
The work in between is where the judgment lives: how large the grid squares are, which points count as ground, how the holes left by removed objects are filled, and which zero the heights are measured from. Each choice can produce a model that looks clean and is wrong in a way only a check against the ground reveals.
This page works in United States terms: elevations in the North American Vertical Datum of 1988 (NAVD 88) by way of the National Geodetic Survey's GEOID18 model, and accuracy as the American Society for Photogrammetry and Remote Sensing (ASPRS) standard describes it. Other countries have their own datums, standards and agencies.
DSM, DTM and DEM
Three acronyms cover two surfaces, and nobody uses them consistently. A digital surface model (DSM) is the first surface. The US Geological Survey (USGS) describes it as showing the tops of buildings, trees, towers and other features raised above the bare earth, and the ASPRS standard calls a DSM made from photos a "first visible" product, one that includes the ground wherever nothing stands on it.
A digital elevation model (DEM) is the umbrella term. The USGS uses it for bare earth, a grid of elevations excluding trees, buildings and other surface objects, and its lidar specification notes that a generic DEM normally means bare earth unless it is called a DSM. Software and clients are looser. One open-source drone mapping package, for instance, files the settings for both of its grids under dem options, and a client may use the word for whatever file arrived, so the word alone does not say which surface is in the file.
Digital terrain model (DTM) is the slipperiest of the three. In some countries it simply means a bare-earth grid, a synonym for DEM, and the documentation of at least one open-source drone mapping package defines its DTM as "ground only". In US mapping usage, as the USGS glossary records it, a DTM is not a grid at all but a set of 3D mass points plus breaklines, lines traced along sharp changes such as the top of a bank or the edge of a curb, from which a surface is then built. A contractor's engineer may mean either.
So the acronym is not the specification. A deliverable says in words which surface it is (first surface, or bare earth with above-ground objects removed), what was removed, how the gaps were filled, and the cell size. Two people who both say "DEM" can be holding files that disagree by the height of a tree.
A grid of cells, one height each
An elevation model stored as a raster is a grid of equal squares, each holding a single number: the height. The USGS definition of cell size is blunt about the cost. Features smaller than the cell cannot be represented. A model with 5 cm (2 in) cells can show a curb but not the crack along it, much like a photo shown with too few pixels, where anything smaller than one square is blended into a single tone and lost.
Points do not land one per cell. Some cells catch several, some catch none, and the software reduces each cell to one height by a rule. One open-source drone mapping package, for instance, gives each cell of its surface model the highest point in or near it, and each cell of its terrain model an average of the nearby ground points, weighted so that closer points count more (inverse distance weighting). A cell that caught nothing is left empty, to be filled later or marked as having no data.
The data set a floor on the cell size. A grid finer than the points behind it adds no detail; it only interpolates between them. That open-source package defaults to 5 cm cells and will not go finer than its estimate of the photos' ground sample distance. The USGS lidar specification applies the same idea at a larger scale: at its quality level 2, points no more than 0.71 m apart support cells no smaller than 1 m. On the grading job one 5 cm cell covers four photo pixels, two by two, and the cloud, matched at half image scale, has about one point every 5 cm, so each cell holds about one point: the grid is as fine as the points behind it support, and no finer.
Size grows with the square of the detail. The 400 m square site at 5 cm cells is 8,000 cells a side, 64 million cells, about 256 MB stored as 4-byte numbers before compression. At 2.5 cm it is 256 million cells and about 1 GB. Halving the cell size quadruples the file and the processing, so the cell size is chosen for the deliverable, not for bragging.
"The surface model: the top of everything"
The surface model is the easy one to build. Every point in the dense cloud counts, nothing is classified, and each cell takes the top of whatever is there. On the grading site that is the canopy along the tree line on the west edge, the roof of any vehicle parked on site, the stockpiles, the road surface along the south edge, and open ground everywhere else. The only holes are where the photos produced no matched points at all.
That makes it the most direct record of what the camera saw. Heights of things are measured on it: how far the tree line stands above the field, how high a pile rises above its surroundings. It also earns its keep in the next product, because an orthomosaic is built by projecting the photos onto an elevation model, and the quality of that model shows up in the finished image.
It is the wrong surface for grading. Contours drawn from it climb over the canopy and loop around parked machinery, and wherever trees stand, the "ground" it reports is the top of the trees. The error there is not a few centimeters. It is the height of the trees.
So the surface model answers "what is standing on this site, and how tall is it", and the terrain model answers "what shape is the land". Mixing up which file answers which question is one of the cheapest mistakes to make and one of the most expensive to ship.
"The terrain model: ground only"
A terrain model starts from the same points with a question put to each one: is this the ground? Sorting points into ground and not-ground is classification, a step that belongs to the point cloud. The terrain model is what gets built from the points that answered yes, gridded the same way, with the holes filled.
How a ground filter decides, and the slope, window and height settings it takes, belong to the point cloud; the terrain model inherits whatever the filter decided.
Those settings are judgments about a site, and the errors run both ways. Grass and low growth shorter than the filter's height threshold pass as ground, so the terrain model rides on top of them. Vegetation lifts photo-based terrain models: in one study of Texas woodland, a terrain model made from drone photos sat a mean 0.19 m (about 7.5 in) above an existing lidar terrain model, with a standard deviation of 0.66 m. In the other direction, a stockpile's sides are steeper than a filter's default slope setting, so the filter can judge a pile of fill to be an object and cut it off, along with the crest of an embankment or the lip of a ditch. The filter decides by shape, not by what the client means by ground.
On the grading job the piles are earth the contractor wants measured, and the volume measurement has its own rules for which surface it uses. What the terrain model should do with them, keep or remove, is a decision about the deliverable, made on purpose and written down, not a default left in place. Look at the terrain model over the piles and along the tree line before trusting the filter, and reclassify or edit where it got the shape wrong.
Filling the holes left by removed objects
Take the trees out of a model and a hole is left where they stood, because no camera saw the ground there. The terrain model fills it the only way it can, by estimating from the measured ground around its edges, like a plank laid across a trench: it joins the two sides neatly and tells you nothing about what lies underneath. The USGS lidar specification asks for the same thing under a bridge: the ground beneath the deck is to be a continuous, logical interpolation of the terrain on either side.
One open-source drone mapping package fills gaps by averaging nearby ground points over a search radius that grows in steps, then hands whatever is still empty to the nearest value. Under a parked truck that works well, because the hole is a few meters across and the ground around it is the same ground. Under a dense tree line it is a guess. The fill runs smoothly from edge to edge, and a ditch, a bank or a drainage channel under the canopy is simply not in it.
The ASPRS standard is direct about this for photo-based mapping: the ground cannot be seen beneath dense vegetation or in deep shadow, so reliable data cannot be collected there. It asks for those areas to be outlined as low confidence polygons, documented with the data, with any contours through them dashed. Where such an area is known in advance, no ground control points or checkpoints go inside it, and if the ground there matters, the standard notes that the common practice is to add a field survey.
The working habit follows. Keep track of which cells were measured and which were filled (that open-source package can write, for every cell, its distance from the nearest cell that was empty before filling, which isolates the filled areas), outline the low confidence areas, and say in the deliverable which parts of the model are measurement and which are estimate.
Which zero the heights stand on
Every cell holds one number, and the number means nothing until you know its zero. On the grading job the client asked for NAVD 88 elevations from GEOID18, so each cell should hold the elevation H, not the ellipsoid height h that the receivers recorded. The conversion is the one line H = h - N; at the job's example point, 220.0 = 190.0 - (-30.0) meters. Whether it happened depends on the coordinate systems chosen for the camera positions and the ground control in the processing software, and the grid inherits whatever was chosen.
A grid left in ellipsoid heights is internally perfect and about 30 m (98 ft) low across the whole site, because N is near -30 m there. A grid that applies GEOID18 to ellipsoid heights from the wrong frame is subtler. The National Geodetic Survey says GEOID18 is to be used only with NAD 83 (2011) epoch 2010.0 ellipsoid heights. Feed it WGS 84 heights instead and the whole model moves by anywhere from a few tenths of a meter to about 1.6 meters in the lower 48 states, many times the job's 10 cm vertical class. A constant shift changes no slope and no shadow, so neither mistake shows when you look at the model.
Units are the other half. The cell values are meters or feet, and if feet, which foot: the international foot is exactly 0.3048 m, the US survey foot 1200/3937 m. The site's ground, about 212 m to 226 m, is about 696 ft to 741 ft, and bare numbers cannot tell a reader which unit, datum or model produced them. The deliverable names the vertical datum, the geoid model and the units in words; how a raster file records them is a question for geospatial formats.
The quickest test is one known elevation: before anyone draws a contour, read the model at a checkpoint or a published benchmark and compare. As of late November 2026, NAVD 88 (with GEOID18) is still the official US vertical datum. Its replacement, the North American-Pacific Geopotential Datum of 2022 (NAPGD2022), has completed its public beta feedback period but has not been approved: it becomes official only after the Federal Geodetic Control Subcommittee votes to approve it and a notice appears in the Federal Register, and no such notice had been published. Elevations will then change by amounts on the order of NAVD 88's own error, which NGS puts at about half a meter to two meters against current geoid models (a bias of about half a meter and a tilt of about a meter coast to coast). A labeled grid can be converted then; an unlabeled one cannot.
Reading an elevation model for trouble
A finished elevation model looks authoritative, which is exactly the problem. The usual way to inspect one is as shaded relief (a hillshade): the grid drawn as if lit by a low sun, so that every bump casts a shadow and faults that hide in a color ramp stand out. Then go over the site in the model looking for a short list of familiar faults.
Spikes and pits are single cells or small clusters far above or below their neighbors, made by mismatched points in the cloud. Smoothing removes most of them, and one open-source package applies a median filter by default, which also rounds off real sharp edges such as curbs and the crest of a pile. Water, fresh unpainted asphalt and other surfaces with no texture give the matching little to hold, the ASPRS standard warns, so the model over them comes out rough, full of holes or invented, and long shadows can leave similar empty patches. Anything that moved while the photos were taken, a working excavator or a passing truck, comes out smeared or half there.
In the terrain model, look along the tree line and any brush for lumps the filter left in, over piles and banks for tops it cut off, and across filled areas for ground too smooth to be real. Then look at the whole shape. A broad dome or bowl across the site is a known systematic error of drone photo blocks flown as a single grid of straight-down images; James and Robson traced it in 2014 to near-parallel viewing directions combined with imperfect correction of lens distortion, and its causes belong to structure from motion. Edges that droop or curl come from extrapolation where photos thin out past the outermost control, which is why the ASPRS guidance flies a buffer beyond the boundary and sets control toward it.
Every one of these can hide behind a good average. A model can pass its checkpoints on open ground and still carry a gentle dome between them, a cut-off pile, or a guessed strip under the trees. The visual pass comes before the numbers, and never instead of them.
The grid under the contours and the volumes
Flying a site and delivering a survey-grade map, on this job, means handing a grading contractor a bare-earth model of 16 hectares (about 40 acres) that they will move earth by. The 1-foot contours are drawn from it and the stockpile volumes are measured from elevation surfaces, both by methods with rules of their own, and the orthomosaic is made by projecting photos onto an elevation model. An error in the grid becomes a contour in the wrong place, a volume off by truckloads, or an image that leans.
The job's vertical target is a 10 cm class (root-mean-square error), chosen for 1-foot contours, and the 30 checkpoints fit the model to 4.8 cm, reported as 5.2 cm once their own survey error is counted in. Those checkpoints sit on open ground, which is where the ASPRS standard makes its pass or fail judgment; under vegetation it asks only that accuracy be tested and reported as found. The terrain model is proven only where it was tested, so the strip under the west tree line goes out outlined as a low confidence area with its contours dashed, not quietly blended into the rest.
The report that travels with the model says which surface each file is, what the ground filter removed and what it was told to keep, how the gaps were filled and where, the cell size, and the vertical datum, geoid model and units. With that, someone else can check the model. Without it, they can only trust it.
A terrain model is not outside surveying because it shows no property lines. Each state sets where licensed land surveying begins, and the line can take in topographic maps, contours, volumes and statements of a map's accuracy, not only boundaries; this job is done under the responsible charge of a licensed land surveyor, who answers for the control, the checkpoints and the accuracy statement, while the pilot plans and flies the mission and processes the data. A remote pilot certificate is not a surveying license.
Sources
The published studies, standards and guidance this page cites. Links open on other sites.
- ASPRS Positional Accuracy Standards for Digital Geospatial Data, Edition 2, Version 2 (ASPRS, 2024) my.asprs.org
- What is a digital elevation model (DEM)? (US Geological Survey FAQ) www.usgs.gov
- Lidar Base Specification: Glossary (US Geological Survey) www.usgs.gov
- dem-resolution (OpenDroneMap documentation) docs.opendronemap.org
- Lidar Base Specification: Tables (US Geological Survey) www.usgs.gov
- Assessment of Image-Based Point Cloud Products to Generate a Bare Earth Surface and Estimate Canopy Heights in a Woodland Ecosystem (Jensen and Mathews, 2016) doi.org
- Lidar Base Specification: Digital Elevation Model Surface Treatments (US Geological Survey) www.usgs.gov
- GEOID18 Technical Details (NOAA National Geodetic Survey) geodesy.noaa.gov
- Historical CORS Coordinates and Helmert Transformation Parameters from the ITRS to NAD83 Reference Frames (NOAA National Geodetic Survey) geodesy.noaa.gov
- New Datums: Replacing NAVD 88 and NAD 83 (NOAA National Geodetic Survey) geodesy.noaa.gov
- New Datums Frequently Asked Questions (FAQs) (NOAA National Geodetic Survey) geodesy.noaa.gov
- Mitigating systematic error in topographic models derived from UAV and ground-based image networks (Earth Surface Processes and Landforms, 2014) doi.org