OPOpenPithMake curiosity visibleGeography lab / Contours

About this lab

Four topics, one thread: encode a solid hill onto a flat map, then read the hill back from the map.

Contour lines are not a drawn pattern. Each one is where a level plane meets the ground. Here you first cut the contours yourself. Then you get only the lines and read the landform, the slope and the profile from them. Last, you use them to judge where water runs and where a road can go.

The contour lines on the terrain are computed from the elevation of every pixel, using the same elevation function as the readings and curves. All the terrain is original teaching data and is not any real place. It is shown at true scale with no vertical exaggeration.

Four results

Four results

  • Slicing: the high peak is 814 m, the low peak 630 m and the saddle 512 m. At 500 m the two hills are still one loop. At 600 m they are two. A 100 m interval gives 8 lines and a 200 m interval gives 4. The hill is the same.
  • Six landforms: the peak is 560 m at the centre and 369 m around it. The basin is 300 m at the centre and 491 m around it, with the same line shape. Valley lines bend uphill and ridge lines bend downhill. The cliff rises 230 m in 28 m of horizontal distance. At a 100 m interval 2 lines crowd together, so its height is between 100 m and 300 m.
  • Slope and profile: a rise of 100 m over 200 m is a slope of 26.6°. The standard section is steepest at 53.7°. With an exaggeration of 2 it is drawn at 69.8°, and the true slope does not change. At a 100 m interval the summit is known only to lie between 300 m and 400 m. The true value is 350 m.
  • Map reading: canal A is 900 m long, drops 1.5 m per 100 m, and goes downhill all the way. Canal B is the straight line between the same two ends, 538 m long. It must climb 100.5 m on the way and fails. Road 1 is 922 m long with a maximum grade of 115 %. Road 2 is 5275 m long with a maximum grade of 8.6 %.

Model and sources

Model and sources

  • All three terrains are analytic functions: each position has one elevation and there are no overhangs. The two-peak terrain is the sum of two Gaussian hills, a valley and a small knoll. Each of the six landforms is one simple function. The standard section comes from seven points joined by monotone cubic interpolation.
  • Contours: shaded directly from elevation, with a width measured in screen pixels. The lines on the sheet and the count at each level come from grid tracing (marching squares) on a grid of about 10 m.
  • Streams step along the steepest way down until they reach the edge of the map. The divide runs from the saddle up the steepest way to each summit. A canal fails if it climbs more than 0.5 m without a break.

The colours of the ground, rock, snow, shadows and sky are for looks and take no part in the calculation. This lab does not model flow, seepage or erosion, and it does not judge whether any works are safe.

Back to geography ↑