A digital elevation model (DEM) is a digital model or 3D representation of a terrain's surface — commonly for a planet (including Earth), moon, or asteroid — created from terrain elevation data.
There is no universal usage of the terms digital elevation model (DEM), digital terrain model (DTM) and digital surface model (DSM) in scientific literature. In most cases the term digital surface model represents the earth's surface and includes all objects on it. In contrast to a DSM, the digital terrain model (DTM) represents the bare ground surface without any objects like plants and buildings (see the figure on the right).
DEM is often used as a generic term for DSMs and DTMs, only representing height information without any further definition about the surface. Other definitions equalise the terms DEM and DTM, or define the DEM as a subset of the DTM, which also represents other morphological elements. There are also definitions which equalise the terms DEM and DSM. On the Web definitions can be found which define DEM as a regularly spaced GRID and a DTM as a three-dimensional model (TIN). Most of the data providers (USGS, ERSDAC, CGIAR, Spot Image) use the term DEM as a generic term for DSMs and DTMs. All datasets which are captured with satellites, airplanes or other flying platforms are originally DSMs (like SRTM or the ASTER GDEM). It is possible to compute a DTM from high resolution DSM datasets with complex algorithms (Li et al., 2005). In the following the term DEM is used as a generic term for DSMs and DTMs.
A DEM can be represented as a raster (a grid of squares, also known as a heightmap when representing elevation) or as a vector-based triangular irregular network (TIN). The TIN DEM dataset is also referred to as a primary (measured) DEM, whereas the Raster DEM is referred to as a secondary (computed) DEM. The DEM could be acquired through techniques such as photogrammetry, lidar, IfSAR, land surveying, etc. (Li et al. 2005). DEMs are commonly built using data collected using remote sensing techniques, but they may also be built from land surveying. DEMs are used often in geographic information systems, and are the most common basis for digitally produced relief maps. While a DSM may be useful for landscape modeling, city modeling and visualization applications, a DTM is often required for flood or drainage modeling, land-use studies, geological applications, and other applications.