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.