18-Geom-B1 Digital Terrain Modelling · December 2017
Question 4 of 12: Slope and Aspect from a Gridded DEM
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
Paper format: National Exams, December 2017 — 3 hours, closed book (one approved Casio or Sharp calculator permitted). The schedule prints TWELVE questions and states that "10 questions constitute a complete paper": Part A (Q1–Q8) is compulsory, Part B requires ONE of Q9–Q10, and Part C requires ONE of Q11–Q12, for a 100-mark paper. All twelve questions are solved below for completeness (a candidate would answer only Q1–Q8 plus one from each of Parts B and C).
Reference texts: Li, Zhu & Gold, Digital Terrain Modeling — Principles and Methodology (CRC Press, 2005); Maune (ed.), Digital Elevation Model Technologies and Applications: The DEM Users Manual (2nd ed., ASPRS, 2007); Wilson & Gallant, Terrain Analysis — Principles and Applications (Wiley, 2000); Wolf, Dewitt & Wilkinson, Elements of Photogrammetry with Applications in GIS (4th ed., McGraw-Hill, 2014); Isaaks & Srivastava, An Introduction to Applied Geostatistics (Oxford, 1989). Canadian datums throughout (NAD83(CSRS), CGVD2013).
Question 4: Slope and Aspect from a Gridded DEM (12 marks)
Given. A 5×5 gridded DEM, cell size $\Delta = 20\text{ m}$ (both directions), with north up. The centre cell (highlighted) has elevation $z_0 = 20\text{ m}$. Its four cardinal neighbours are:
Neighbour
North (N)
South (S)
East (E)
West (W)
Elevation (m)
20
40
40
20
Find. The slope angle and the aspect (azimuth of steepest descent) at the centre point, using the 4-neighbour (rook) finite differences only.
The 5×5 DEM (20 m cells). The centre cell ($z_0=20$ m) is highlighted; its four cardinal neighbours used for the 4-neighbour gradient are outlined N/S/E/W.
Approach. Estimate the two partial derivatives of the surface at the centre from the opposite cardinal neighbours (central differences), combine them into a gradient magnitude for the slope angle, and take the azimuth of the downslope direction for the aspect.
East–west gradient (central difference). With $x$ positive to the east,
$$\frac{\partial z}{\partial x} = \frac{z_E - z_W}{2\,\Delta} = \frac{40 - 20}{2(20)} = 0.500$$
The surface rises 0.5 m per metre toward the east.
North–south gradient (central difference). With $y$ positive to the north,
$$\frac{\partial z}{\partial y} = \frac{z_N - z_S}{2\,\Delta} = \frac{20 - 40}{2(20)} = -0.500$$
The negative sign shows the surface falls toward the north (it rises to the south).
Slope angle from the gradient magnitude. The steepest slope is the magnitude of the gradient vector:
$$\beta = \arctan\!\sqrt{\left(\tfrac{\partial z}{\partial x}\right)^2 + \left(\tfrac{\partial z}{\partial y}\right)^2} = \arctan\!\sqrt{0.5^2 + 0.5^2} = \arctan(0.7071)$$
$$\boxed{\beta = 35.26^\circ}$$
Aspect as the azimuth of steepest descent. The gradient vector $(\partial z/\partial x,\ \partial z/\partial y) = (+0.5,\ -0.5)$ points uphill — toward the east and south, i.e. the south-east. Aspect is the direction the slope faces (downhill), the opposite azimuth. Measuring the downslope azimuth clockwise from north,
$$\alpha = \operatorname{atan2}\!\big(-\tfrac{\partial z}{\partial x},\ -\tfrac{\partial z}{\partial y}\big) = \operatorname{atan2}(-0.5,\ +0.5) = -45^\circ \equiv \boxed{315^\circ \ (\text{NW})}$$
Consistent with the data: the ground climbs to the SE (E and S neighbours are higher), so it faces the NW.