Contouring surfaces

Lecture index: Why contour? / Coordinate systems and map projections. / Types of 'earth science' surfaces often contoured? / Examples. / Contouring algorithms. / Wire frames and other forms of visualization. / Contouring software. / Exercise 5.

Reading: Computer contouring, in Davis, 1986, Statistics and Data Analysis in Geology, Wiley, p. 353-383. Available as a pdf on Canvas.

Why contour?

A primary reason is to visualize an actual or theoretical surface, and see patterns or find anomalies, to understand. Literature exists on learning 'styles' that people naturally have and can develop. A visual learning style is one of the most common and contour maps feed into this ability. The literature on scientific visualization is a significant topic for good reason.

Sometimes there is a more practical reason. One may want to interpolate values in between points sampled on a surface to estimate the value for that specific point. For example, if you wanted to estimate drilling depth to a given horizon at a new locality based on nearby drill holes. Or you may want to estimate the volume of oil in a dome. Sometimes the contour surface may be input for modeling (e.g. contour maps of groundwater tables yields flow nets).

Contour maps are a very common product of the environmental, oil and mineral industry. If you aren't producing them in your career, you will at the very least be using them a lot!

Finally, they can be very aesthetically pleasing to create and to see.

Coordinate systems and map projections.

A very basic form of data input for surface modeling is typically - x, y, z, where x and y represent position and z is some value of interest. When there are geographic coordinates involved the coordinate system is important. The two most commonly used geographic coordinate systems used are:

Types of 'earth science' surfaces often contoured?

There are many. Below is a partial list.


An example: Puget Sound Aeromagnetic Maps and Data By Richard J. Blakely1, Ray E. Wells1, and Craig S. Weaver2, U.S. Geological Survey Open-File Report 99-514 Version 1.0, 1999.

Note that this USGS map does not show the typical contour lines as seen on many maps of surfaces. Instead it is a shaded relief map. We will discuss these more. With the advent of cheap computing power and software these have become much more common. What patterns do you see in this map, and why do they exist?
One thing to realize with some of these maps is that there is shading based on an illumination point. This point can be changed and the apperance of the map will be somewhat changed. Gradient slopes in some directions can become enhanced and in other directions subdued, which of course can influence subjective visual interpretation.

Above is an example of a strip across the Cedar Creek 7.5' USGS topographic quad, showing both contour lines and an underlying shaded relief map. What basic information is missing from this image that would help make it a more usable map? What patterns do you see in this topography and why do you think they exist?

Aeromagnetic contour map of Georgia. Note the very striking linear pattern in the middle of the state - this reflects various faults and geologic belts in the hinterland of Southern Appalachian geology. The use of contour and shaded relief maps to image geophysical data is standard. Image source USGS site:

Contour map of Mercury concentrations in Long Island Sound. What conclusions can you draw from this map pattern. How well constrained do you think various aspects of the pattern are (how would additional samples change the pattern? Image source USGS site:

Contouring algorithms.

Contouring by hand can work well, but is much more subjective. This is one reason computer generated maps are now preferred. However, expert knowledge can help quite a bit in producing a contour map if you know the character of the surface. This might be considered the 'art' behind the product. A simple example is rounded vs. angular geometries for a folded surface. If you know the fold style from observation and/or experience then you can better complete the contours given the discretion one has between control points. Such expert knowledge helps you draw a better contour map with less data. A better solution is to have better control, i.e. more data points, but data costs!! It is also quite important to use your expert knowledge about what is being mapped to evaluate the maps that computer programs generate for you.

Surface trend analysis and mathematical surfaces: This is similar to fitting a line in 2-D graph space - a plane or some more complex curved surface can be fit in 3-D. One advantage of such an analysis is that the surface can then be very efficiently represented or captured - as an equation. This is a link to a quick exploration of modeling surfaces in Excel as a combination of continuous functions and random fluctuations. One can also get useful information by taking derivatives of the surfaces. Such derivatives will map slopes and gradients of change in slope. This is one of the options in Surfer. It can be especially useful if you want to look for anomalies. For example a regional slope can be modeled, and then the difference between that and observed values is the residual, and can be thought of as an anomaly. This is a path often used in gravity modeling in geophysics.

Contouring algorithms: This is a crucial consideration! Different algorithms can produce very different results. The fewer control points you have the greater the difference can be.

Wire frames and other forms of visualization.

In addition to the classic contour lines, many other ways of representing or visualizing a surface can now be done easily. Wire frame diagrams attempt to give a realistic rendering of the surface from a defined oblique perspective. Shaded relief maps typically provide a birds view perspective of a obliquely illuminated surface with a color scheme that reflects z values. Finally, animations known as fly-through are also popular. Some examples are given below.

Image model multiple subsurface geologic layers for basin analysis and petroleum exploration purposes in Alaska. Image source:

Contouring software.

Software platforms:

  • Surfer is a commercial software program that works very well for modeling surfaces. Its major draw back is the cost, but we are fortunate to have access to it. This is the program we will use, and it is often used in industry.
  • Surface 3. This is contouring software for the Mac available from the Kansas Geological Survey. It also has some nice online description of how the program works, discussing different gridding options and some of the theory. However, it has not been supported with time and works less and less well (or not at all ) with OS 10 versions.
  • ArcMap also had the ability to contour data, which we will introduce you to later. The contouring routines are to be found in ArcToolbox. This is a topic beyond the scope of this course, but there are a variety of help options available within ArcGIS and out on the web that you can use to teach yourself how to do this.
  • There are a variety of freeware contouring programs available that can be readily found through the Google search engine. I am unacquainted with them.

  • Exercise 5: Producing contour maps of geoscience data.

    Data sets to play and learn with.

    Possible data sources:

    Copyright by Harmon D. Maher Jr.. This material may be used for non-profit educational purposes if proper attribution is given. Otherwise please contact Harmon D. Maher Jr.. Last modified 9/06