Terrain representation is the manner by which elevation data are visualized. Data are typically stored as 2.5D grid representations, including digital elevation models (DEMs) in raster format and triangulated irregular networks (TINs). These models facilitate terrain representations such as contours, shaded relief, spot heights, and hypsometric tints, as well as automate calculations of surface derivatives such as slope, aspect, and curvature. 3D effects have viewing directions perpendicular (plan), parallel (profile), or panoramic (oblique view) to the elevation’s vertical datum plane. Recent research has focused on automating, stylizing, and enhancing terrain representations. From the user’s perspective, representations of elevation are measurable or provide a 3D visual effect, with much overlap between the two. The ones a user can measure or derive include contours, hypsometric tinting, slope, aspect, and curvature. Other representations focus on 3D effect and may include aesthetic considerations, such as hachures, relief shading, physiographic maps, block diagrams, rock drawings, and scree patterns. Relief shading creates the 3D effect using the surface normal and illumination vectors with the Lambertian assumption. Non-plan profile or panoramic views are often enhanced by vertical exaggeration. Cartographers combine techniques to mimic or create mapping styles, such as the Swiss-style.
Gridding is the act of taking a field of measurements and discretizing it into a regular tessellation, often either a lattice of squares or hexagons. Gridding can either discretize continuous phenomena or aggregate discrete instances; in either case, gridding serves conceptually to assist analysis, for example in finding local minima or maxima (i.e., "hotspots"). The process of gridding often involves interpolation, which is the rational estimation of unknown data values within the bounds of known values. Contouring refers to the creation of isolines throughout a data surface, often one represented by a grid. This section describes gridding, interpolation, and contouring, highlighting a few example methods by which interpolation is frequently done in the geospatial analysis.