A contour line is a line connecting points at which a continuously varying quantity has the same value. In cartography, the term most commonly refers to a line of equal elevation above a specified reference level, used on a topographic map to represent the shape of the land. More broadly, contours can represent temperature, atmospheric pressure, water depth, rainfall, or other spatially varying quantities. Their shapes, spacing, and numerical labels allow a two-dimensional display to convey information about a surface or field.
Definition and mathematical basis
For a function defined over a two-dimensional region, a contour at value is the set
If represents terrain elevation, this set corresponds to the intersection of the terrain surface with a horizontal plane at elevation , projected onto the map. A single contour value may produce several disconnected lines, such as separate loops around hills of similar height.
At a regular point of a differentiable surface, where the gradient is nonzero, the contour is locally a smooth curve. The gradient is perpendicular to the contour and points toward the direction of greatest increase. At critical points, where the gradient vanishes, contours can have more complicated forms, including branches meeting at a saddle point.
The terms isoline and isarithm are widely used for equal-value lines in general. Isopleth is sometimes used synonymously, but some cartographic classifications reserve it for quantities calculated relative to an area, such as population density, rather than quantities directly measurable at a point.
Elevation contours
Reference level and contour interval
An elevation contour is meaningful only in relation to its vertical reference system. Heights may be referred to a geodetic datum associated with mean sea level or to another specified reference surface. Heights measured relative to a reference ellipsoid are not automatically interchangeable with sea-level-related heights.
The contour interval is the vertical difference between successive regular contours. If contours are drawn at 100, 120, and 140 metres, the interval is 20 metres. It is a difference in elevation, not the horizontal distance between lines.
The chosen interval depends on map scale, terrain relief, data quality, and intended use. A small interval reveals subtle relief but may make steep terrain illegible. A large interval produces a clearer map but can conceal low hills, shallow depressions, and minor drainage features.
Common line conventions
Topographic maps often distinguish several kinds of contour:
- Index contours are emphasized, commonly by thicker lines, and labeled with elevation values. Frequently every fifth regular contour is an index contour, although conventions vary.
- Intermediate contours are the regular contours between index contours.
- Supplementary contours show additional relief where the main interval is too large. They are often dashed and may use half the regular interval.
- Depression contours identify enclosed low areas. On many maps, short inward-pointing ticks, or hachures, mark the downslope side.
- Approximate contours indicate uncertain positioning or elevation, using a line style defined in the map legend.
These conventions are not universal; the legend establishes the meaning of line styles and units on a particular map.
Reading terrain from contours
Spacing and slope
For a fixed contour interval, closely spaced contours indicate a steep slope, whereas widely spaced contours indicate a gentle slope. Approximately uniform spacing suggests a relatively uniform slope.
If adjacent contours differ in elevation by , and their horizontal ground separation measured approximately perpendicular to the contours is , then the local slope angle can be estimated by
The corresponding percentage slope is approximately . The distance must be converted from map distance to horizontal ground distance using the map scale. This estimate describes the average slope between the contours; it does not recover every irregularity of the terrain.
Hills, depressions, valleys, and ridges
Closed contours with values increasing inward generally indicate a hill or summit. Closed contours with values decreasing inward indicate a depression. A closed loop alone does not establish which landform is present: labels, hachures, and surrounding relief provide the necessary context.
Where contours cross a valley containing a river, they commonly bend into a V pointing upstream, toward higher ground. Across a ridge, bends generally point downhill. These patterns help identify drainage networks and drainage divides.
A saddle is a low passage between higher areas, with the terrain rising in some directions and falling in others. Its contour pattern differs from that of either a simple summit or a depression.
Crossing and termination
Contours of different values cannot cross on a single-valued surface: one map location cannot have two different elevations. Contours also do not ordinarily end within a continuous, fully represented surface. They form closed loops, continue beyond the map boundary, or encounter a boundary or gap in the mapped data.
The familiar statement that contours “never cross” requires qualification. A contour at a critical value can meet itself at a saddle point. Vertical cliffs may cause different elevation contours to coincide in plan view, while overhangs cannot be fully represented by a terrain model that assigns only one elevation to each horizontal position. Maps usually represent such features with additional symbols or generalization.
Other kinds of equal-value line
Contour methods extend well beyond land elevation.
| Line type | Quantity held constant | Typical use |
|---|---|---|
| Isobath | Water depth | Nautical charts and seafloor mapping |
| Isobar | Atmospheric pressure | Weather analysis |
| Isotherm | Temperature | Weather and climate mapping |
| Isohyet | Precipitation amount over a stated period | Rainfall analysis |
| Isohaline | Salinity | Oceanographic mapping |
| Equipotential contour | A specified potential | Physical-field analysis |
| Groundwater-head contour | Hydraulic head | Groundwater studies |
In meteorology, closely spaced isobars indicate a large horizontal pressure gradient. The resulting wind also depends on forces and processes such as Earth's rotation and surface friction; it does not simply blow perpendicular to isobars.
In hydrology, contours of groundwater head help describe subsurface flow systems. Flow is perpendicular to head contours under isotropic conditions, but this relationship need not hold in anisotropic materials.
Contour values must be accompanied by appropriate units and context. An isohyet, for example, is incomplete without specifying whether it represents a storm total, monthly rainfall, or another accumulation period.
Construction and digital processing
Contours may be derived from field surveying, photogrammetry, remote sensing, or existing measurements. Historically, cartographers estimated their positions between surveyed points. In a geographic information system, contours are commonly generated from a digital elevation model or another numerical surface.
When observations are scattered, spatial interpolation is used to estimate values between them. Different interpolation methods can produce different contour patterns from the same observations, especially where measurements are sparse.
For gridded raster data, contouring algorithms examine cells and locate where a chosen contour value crosses cell edges. One common approach, marching squares, joins these crossings into line segments. Ambiguous saddle-like arrangements require an explicit rule for connecting segments. Triangulated surfaces offer another approach: contour crossings are calculated along triangle edges and joined across each triangle.
The resulting lines are often stored as vector geographic data, with the contour value recorded as an attribute. Processing may include joining segments, placing labels, and smoothing linework.
Smoothing and cartographic generalization improve legibility but can shift apparent positions or remove small features. Excessive processing may create misleading shapes or intersections. Reducing the contour interval below the effective resolution of the source data adds lines without necessarily adding reliable information.
Historical development
Equal-value lines became established in European scientific mapping during the seventeenth and eighteenth centuries. Early applications included water depth and magnetic variation, before elevation contours became routine on topographic maps.
Their adoption changed how relief could be communicated. Hill shading and hachures conveyed the appearance and direction of slopes, whereas labeled contours also provided quantitative elevation information and supported the construction of terrain profiles.
During the nineteenth and twentieth centuries, systematic surveying and standardized topographic mapping expanded their use. Aerial photography and later digital terrain modeling changed how contours were produced, while retaining the basic principle of connecting locations with equal values.
Applications and limitations
Elevation contours support route planning, engineering design, terrain-profile construction, drainage interpretation, and urban planning. They help identify steep slopes, estimate relative heights, and visualize landforms without a three-dimensional display.
On a thematic map, equal-value lines can reveal gradients, peaks, troughs, and boundaries in a continuous field. They differ from a choropleth map, which assigns colors or patterns to predefined areas such as administrative units. Shaded bands between contours represent ranges of surface values rather than necessarily corresponding to administrative boundaries.
Contour maps nevertheless have important limitations:
- They omit variation between selected levels. A feature lying entirely between adjacent contour elevations may not appear.
- Their precision depends on the source data. Detailed-looking lines do not establish high positional or vertical accuracy.
- Interpolation can imply unsupported structure. Sparse observations may generate apparently precise peaks, depressions, or gradients.
- Dense contours can become unreadable. Steep terrain often requires selective labeling, generalization, or supplementary relief shading.
- Comparisons require compatible references. Contours based on different vertical datums, units, observation periods, or measurement definitions may not be directly comparable.
- Not every mapped variable is continuous. Applying contours to categorical data, or across genuine discontinuities, can imply intermediate values that have no physical meaning.
Uncertainty is therefore a property of the underlying observations and surface model, not something eliminated by drawing a smooth line.