ULSTEPVila Nova University Free University of São Tomé and Príncipe
School of Public Works
ULS-ETPP-TOPOSIG2 · SESSION 3
Topography and GIS 2 — Session 3: Digital terrain models, interpolation, contour lines and volume calculations
ULSTEP Vila Nova · School of Public Works and Bridges · Semester 3 · Session 3/5
LevelBachelor's cycle (semester 3)
PeriodAcademic year 2026-2027
ULSTEP · beta · not a diploma · CC BY-NC-SA 4.0
ULS-ETPP-TOPOSIG2 · S3Guide d'apprentissage2 / 37
Learning guide for the session
Guide d’apprentissage
Objectives, pathways, method and assessment: how to progress at your own pace.
1
Objectifs de la séance
Objective 1: Distinguish a DTM, a DSM and a DEM and choose between raster grid and TIN by justifying with at least two criteria
Objective 2: Calculate the bias and root mean square error of a DTM from control points, with a deviation less than 0.001 m compared to the correction
Objective 3: Interpolate an elevation by nearest neighbour, by bilinear interpolation and by inverse distance weighting, with a calculation error less than 0.01 m
Objective 4: Construct the contour lines and the slope of a sided triangle, by giving the exact intersection points on the edges
Objective 5: Calculate an earthwork volume by prisms on grid, by average of areas and by the prismoid formula, and quantify the difference between methods
2
Parcours d'apprentissage
Part 1 — Situate and diagnose: from point cloud to digital terrain model (Entry test and real case of the SRTM mission (2000); DTM, DSM, DEM: definitions and raster and TIN structures; Data sources, accuracy and control by root mean square error)
Part 2 — Understand and practise: interpolate and represent terrain relief (Grid interpolation: nearest neighbour, bilinear and inverse distance weighting; Delaunay triangulation, TIN, natural neighbours and kriging; Contour lines and slope: case study of the sided triangle)
Part 3 — Apply, verify, synthesise: calculate volumes (Volumes by prisms on grid: case study of the constructed platform; Cross-sections: average of areas, prismoid and Simpson's rule; Summary sheet and self-assessment)
3
Méthode conseillée
Listen, then pause before each numerical result and find it yourself.
Always write the units (m, m², m³) and signs (cut, fill); round only at the end.
Draw a sketch before calculating: sided triangle, four-corner grid, cross-section.
Historical milestones : from the earliest isobath curves to the SRTM mission
Timeline
Seven dated and sourced landmarks, from 1584 to 2000.
1584
First known isobath
Pieter Bruinsz surveys lines of equal depth on a map of the Spaarne river, near Haarlem: ancestor of contour lines
1791
Contour lines on a map of France
J. L. Dupain-Triel publishes a map of France with contour lines at equal intervals of 20 metres
1934
Delaunay triangulation
Boris Delaunay studies triangulations with empty circumscribed circle, basis of irregular triangle networks
1951
Origins of kriging
Danie G. Krige estimates gold grades in the Witwatersrand from few boreholes (thesis of 1951); Matheron's theory in 1960
1968
Shepard interpolation
Donald Shepard publishes inverse distance weighting, derived from Harvard University's SYMAP programme
1973
First TIN programme for GIS
W. Randolph Franklin writes the first irregular triangle network programme at Simon Fraser University
2000
SRTM mission
February 2000, Endeavour shuttle (STS-99), 11 days: near-global model between 56° S and 60° N
Part 1 sur 3
1
Locating and diagnosing: from point distribution to digital terrain model
Entry test and real case of the SRTM mission (2000)
DTM, DSM, DEM: definitions and raster and TIN structures
Data sources, accuracy and control by root mean square error
ULS-ETPP-TOPOSIG2 · Session 3 · Topography and GIS 2 — Session 3: Digital terrain models…
ULS-ETPP-TOPOSIG2 · S31.Locating and diagnosing: from point distribution to digital terrain model›Entry test and real case of the SRTM mission (2000)9 / 37
Definition
Vocabulaire
Course term
Entry test — Prerequisites for the session
Prerequisites : from Latin prae- (before) and requirere (to require) ; interpolation : from Latin interpolare, to restore to new condition, hence to insert between two known values
Five questions to assess your knowledge before tackling terrain models. Ungraded ; detailed correction in the voiceover.
Sources : [S10] Wikipédia, Bilinear interpolation (interpolation linéaire, base du calcul) · Exercices construits ; résultats recalculés par script : 15 % ; 11,5 m ; 50 m ; 100 m² ; 50 m³
ULS-ETPP-TOPOSIG2 · S31.Locating and diagnosing: from point distribution to digital terrain model›Entry test and real case of the SRTM mission (2000)10 / 37
Real case : the SRTM mission, February 2000, a near-global elevation model
Key concept
From radar signal to usable model
1
Radar measurement with two antennae
Single pass, eleven days in February 2000
→
2
First reflected surface
Tree tops, roofs: surface model
→
3
Control and gaps
Areas without data in highly marked relief
→
4
Possible correction
Corrected or filled version: verify the method
Fig. 1
Sources : [S6] Wikipédia, Shuttle Radar Topography Mission (secondaire, lu le 15/11/2026) · [S1] Wikipédia, Digital elevation model (secondaire, lu le 15/11/2026) · Calculs construits : tuiles 3 601² et 1 201² ; rapport 8,99
ULS-ETPP-TOPOSIG2 · S31.Locating and diagnosing: from point distribution to digital terrain model›Entry test and real case of the SRTM mission (2000)11 / 37
Key points — Input test and real case of the SRTM mission
Key takeaways
Key takeaways
Input test: slope = elevation change / horizontal distance (15 %), linear interpolation (11.5 m), distance (50 m), area (100 m²), volume (50 m³)
SRTM: February 2000, 11 days, 56° S to 60° N, grids of 1″ (≈ 30 m) and 3″ (≈ 90 m)
A radar measures the first reflected surface: the result is a DSM, not a DTM
A quasi-global model is suitable for preliminary design, never for the implementation of a structure
Vertical accuracy: not read, to be verified in the official documentation
ULS-ETPP-TOPOSIG2 · S31.Locating and diagnosing: from point distribution to digital terrain model›DTM, DSM, DEM: definitions and raster and TIN structures12 / 37
DTM, DSM, DEM: what the model represents, and how it is structured
Key concept
What does the model represent, and how is it stored?
Structure: raster grid
🌳
DSM in grid
Ex. SRTM: tree tops and roofs, one elevation per cell
⛰️
DTM in grid
Bare soil, calculated; slope analysis and layer overlay
📐
DSM in TIN
Surface points linked by triangles
🔺
DTM in TIN
Measured ground points, Delaunay triangles; contour lines in CAD
Model structure
Content represented
Bare soil (DTM)
Fig. 2
Sources : [S1] Wikipédia, Digital elevation model (secondaire, lu le 15/11/2026) · [S3] Wikipédia, Triangulated irregular network (secondaire, lu le 15/11/2026)
ULS-ETPP-TOPOSIG2 · S31.Locating and diagnosing: from point distribution to digital terrain model›DTM, DSM, DEM: definitions and raster and TIN structures13 / 37
Key points — DTM, DSM, DEM and data structures
Key takeaways
Key takeaways
DEM: generic term; DSM: soil and objects; DTM: bare soil
A DTM is often obtained by filtering a DSM (bare soil extraction)
Raster: regular cells, one elevation per cell, suited to slope and layer overlay
TIN: surveyed peaks connected by triangles, fewer points, adapted to irregular relief
Always check what a model contains before using it
ULS-ETPP-TOPOSIG2 · S31.Locating and diagnosing: from point distribution to digital terrain model›Data sources, accuracy and control by root mean square error14 / 37
Where the data comes from: lidar, photogrammetry, GNSS and radar
Key concept
Four families of data sources
📡
Airborne lidar
Laser pulse travel time; filters vegetation; detailed DEM
📷
Photogrammetry and drones
Stereo and structure-from-motion; DSM; depends on light and visible ground
📍
GNSS and theodolite
Points measured in the field; high precision, limited coverage
🛰️
Satellite radar
Extended coverage, grids of 30 to 90 m; reflected surface
Fig. 3
Sources : [S12] Wikipédia, Lidar (secondaire, lu partiellement le 15/11/2026) · [S1] Wikipédia, Digital elevation model (secondaire) · [S3] Wikipédia, Triangulated irregular network · [S6] Wikipédia, Shuttle Radar Topography Mission
ULS-ETPP-TOPOSIG2 · S31.Locating and diagnosing: from point distribution to digital terrain model›Data sources, accuracy and control by root mean square error15 / 37
Check a DEM: bias and root mean square error on 8 control points
Key concept
Validating a terrain model
1
Independent control points
Measured by GNSS, not used to build the model
→
2
Deviations
Model elevation minus measured elevation
→
3
Bias, RMSE, MAE
Mean, root of the mean of squares, mean of absolute values
→
4
Decision
Compare to the project tolerance
Fig. 4
Sources : [S13] Wikipédia, Root mean square deviation (secondaire, lu le 15/11/2026) · Exercice construit, recalculé par script : biais −0,010 m ; RMSE 0,1526 m ; MAE 0,1275 m
ULS-ETPP-TOPOSIG2 · S31.Locating and diagnosing: from point distribution to digital terrain model›Data sources, accuracy and control by root mean square error16 / 37
Key takeaways — Data sources and precision control
Key takeaways
Key takeaways
Four families of sources: lidar, photogrammetry, GNSS or theodolite measurements, satellite radar
Lidar: d = c·t/2; vegetation filtering; photogrammetry and radar: rather surface models
Control: deviations on independent points; bias −0.010 m, RMSE 0.153 m, MAE 0.128 m in the example
RMSE² = bias² + variance; never check using the construction points
Part 2 sur 3
2
Understanding and practising: interpolating and representing relief
Grid interpolation: nearest neighbour, bilinear and inverse distance weighting
Delaunay triangulation, TIN, natural neighbours and kriging
Contour lines and slope: case study of the sided triangle
ULS-ETPP-TOPOSIG2 · Session 3 · Topography and GIS 2 — Session 3: Digital terrain models…
ULS-ETPP-TOPOSIG2 · S32.Understanding and practising: interpolating and representing relief›Grid interpolation: nearest neighbour, bilinear and inverse distance weighting18 / 37
Interpolate an elevation: nearest neighbour, bilinear, inverse distance weighting
Key concept
Four ways to read an elevation between points
🎯
Nearest neighbour
→
No calculation: copy the elevation of the nearest point; surface in steps, abrupt jumps
🔲
Bilinear
→
Four corners of a regular cell; continuous surface; order of axes irrelevant
⚖️
Weighting by inverse distance
→
Weighted average of scattered points; exponent p controls the influence of the nearest ones
🧭
Choose
→
According to the regularity of points, density and need for a smooth surface
Fig. 5
Sources : [S2] Wikipédia, Inverse distance weighting (secondaire, lu le 15/11/2026) · [S10] Wikipédia, Bilinear interpolation (secondaire, lu le 15/11/2026) · Exercice construit, recalculé par script : 21,88 m ; 45,18 ; 45,29 ; 45,32 m
ULS-ETPP-TOPOSIG2 · S32.Understanding and practising: interpolating and representing relief›Grid interpolation: nearest neighbour, bilinear and inverse distance weighting19 / 37
To remember — Interpolation on grid
Key takeaways
Key takeaways
Nearest neighbour: simple, but surface in steps
Bilinear: 4 corners, weights = products of complementary fractions; example 21.88 m
IDW: w = 1/dᵖ, normalised weights; p = 2 gives 45.29 m in the example
The IDW value remains between the minimum and maximum of the data
Limit the neighbourhood: at great distance, distant points can dominate
ULS-ETPP-TOPOSIG2 · S32.Understanding and practising: interpolating and representing relief›Delaunay triangulation, TIN, natural neighbours and kriging20 / 37
Delaunay triangulation and triangulated irregular network (TIN)
Key concept
From point scatter to TIN surface
1
Measured points (x, y, z)
GNSS, total station, lidar, photogrammetry
→
2
Delaunay triangulation
Empty circumcircle, angles maximised
→
3
Plane per triangle
Linear elevation inside each triangle
→
4
Exploitation
Contour lines, volumes, conversion to grid
Fig. 6
Sources : [S11] Wikipédia, Delaunay triangulation (secondaire, lu le 15/11/2026) · [S3] Wikipédia, Triangulated irregular network (secondaire, lu le 15/11/2026)
ULS-ETPP-TOPOSIG2 · S32.Understanding and practising: interpolating and representing relief›Delaunay triangulation, TIN, natural neighbours and kriging21 / 37
Natural neighbours and kriging: two more elaborate interpolators
Key concept
Compare the interpolators studied
Statistical hypotheses: yes
❔
Box not completed
No method retained in our sources
📈
Kriging
Variogram to adjust; weights sum to 1; local stationarity hypothesis
🧩
Natural neighbours
Without parameter, without statistical hypothesis, local and smooth
⚖️
IDW
Exponent p and neighbourhood to choose; no statistical hypothesis
Statistical model
Settings
Parameters to choose
Fig. 7
Sources : [S14] Wikipédia, Natural-neighbor interpolation (secondaire, lu le 15/11/2026) · [S5] Wikipédia, Kriging (secondaire, lu le 15/11/2026) · [S2] Wikipédia, Inverse distance weighting
ULS-ETPP-TOPOSIG2 · S32.Understanding and practising: interpolating and representing relief›Delaunay triangulation, TIN, natural neighbours and kriging22 / 37
To retain — Delaunay, TIN, natural neighbours and kriging
TIN: planar surface per triangle constructed on measured points; vertices preserved
Four cocyclic points: two possible triangulations, choice of diagonal
Natural neighbours: without parameter, local, smooth, exact at points
Kriging: variogram and statistical hypotheses, but measure of uncertainty
ULS-ETPP-TOPOSIG2 · S32.Understanding and practising: interpolating and representing relief›Contour lines and slope: case study of the sided triangle23 / 37
Contour lines: equidistance, slope reading and plotting on a TIN
Key concept
Draw the contour lines on a sided triangle
1
Choose the equidistance
According to the scale and slope of the terrain
→
2
Interpolate on the edges
t = (z − zₐ)/(z_b − zₐ) for each round elevation
→
3
Connect the points of the same elevation
In a triangle: a straight segment
→
4
Check
Spacing e = equidistance / slope; no contours cross each other
Fig. 8
Sources : [S4] Wikipédia, Contour line (secondaire, lu le 15/11/2026) · [S3] Wikipédia, Triangulated irregular network · Calcul construit : espacement = 5 / 0,10 = 50 m ; 50 m à l'échelle 1/20 000 = 2,5 mm
ULS-ETPP-TOPOSIG2 · S32.Understanding and practising: interpolating and representing relief›Contour lines and slope: case study of the sided triangle24 / 37
Case study 1 — Contour lines and slope of a sided triangle (constructed case)
Cas concret
Statement (statement values, local reference frame in m): A (0; 0; 12.0), B (40; 0; 20.0), C (0; 30; 16.0); equidistance 2 m
Step 1: plane z = 12 + 0.2·x + 0.1333·y (verified at B and C)
Step 2: 14 m contour from (10; 0) on AB to (0; 15) on AC; 16 m contour from (20; 0) on AB to vertex C; 18 m contour from (30; 0) on AB to (20; 15) on BC
Step 3: gradient = √(0.2² + 0.1333²) = 0.2404; slope 24.04% i.e. 13.5°; direction at 33.7° from the x axis
Step 4: horizontal spacing = 2 / 0.2404 = 8.32 m; z at P (10; 10) = 15.33 m
Step 5: area in plan 600 m²; real area = 600 × 1.0285 = 617.1 m²; length of the 14 m contour = 18.03 m
Constructed case to be validated by a Santomean professional before any transposition
Sources : Exercice construit, recalculé par script de vérification (aucun écart) · [S4] Wikipédia, Contour line (principes) ; [S3] Wikipédia, TIN
ULS-ETPP-TOPOSIG2 · S32.Understanding and practising: interpolating and representing relief›Contour lines and slope: case study of the sided triangle25 / 37
Key points — Contour lines and slope
Key takeaways
Key takeaways
Constant spacing on a map; close curves = steep slope
Horizontal spacing e = spacing / slope (50 m for 5 m and 10 %)
On a TIN: linear interpolation on each edge, straight segment within the triangle
Case study: slope 24.04 % (13.5°), spacing 8.32 m, actual area 617.1 m²
Always check: curves parallel and regular on a plan, never intersecting
Volumes by prisms on grid: case study of the constructed platform
Cross-sections: average of areas, prismatoid and Simpson's rule
Summary sheet and self-assessment
ULS-ETPP-TOPOSIG2 · Session 3 · Topography and GIS 2 — Session 3: Digital terrain models…
ULS-ETPP-TOPOSIG2 · S33.Applying, verifying, synthesising: calculating volumes›Volumes by prisms on grid: case study of the constructed platform27 / 37
Calculate a volume on a model: square prisms, triangular prisms and actual case of Culebra cutting
Key concept
Three ways to calculate a volume
🟦
Square prisms
Regular grid; average of the four corners; exact if the surface is bilinear
🔺
Triangular prisms
TIN; average of the three vertices; depends on the diagonal
📏
Cross-sections
Linear projects; average of areas, prismoid or Simpson
ULS-ETPP-TOPOSIG2 · S33.Applying, verifying, synthesising: calculating volumes›Volumes by prisms on grid: case study of the constructed platform28 / 37
Case study 2 — Platform on a 10 m grid (constructed case to be validated by a Santomean professional)
Cas concret
Statement (statement values): 3 × 2 grid of 10 m squares (600 m²); elevations in m: line 1: 24.2; 24.6; 25.1; 25.8; line 2: 23.9; 24.5; 25.3; 26.0; line 3: 23.6; 24.3; 25.0; 25.6
Fill platform at zproject = 26.50 m: average thicknesses per square 2.200; 1.625; 0.950; 2.425; 1.725; 1.025 m
Break-even elevation (zero balance): average of square averages = 24.84 m; by numerical integration: cut 151.3 m³, fill 150.3 m³, balance +1.0 m³ (rounding of elevation)
Sources : Exercice construit, recalculé par script de vérification (aucun écart) · [S7] Wikipédia, Earthworks (engineering) ; [S3] Wikipédia, TIN
ULS-ETPP-TOPOSIG2 · S33.Applying, verifying, synthesising: calculating volumes›Volumes by prisms on grid: case study of the constructed platform29 / 37
DEM = bare ground, DSM = ground and objects, DTM = generic term ; control by bias and RMSE (0.153 m in the example)
Interpolate: nearest neighbour, bilinear (21.88 m), IDW (45.29 m for p = 2) ; Delaunay and TIN ; natural neighbours and kriging
Contour lines: e = contour interval / slope ; triangle side: slope 24.04 %, spacing 8.32 m
Volumes: square prisms 995.0 m³ ; TIN 991.67 to 998.33 m³ ; prismoidal 626.67 m³ ; Simpson 623.33 m³
Always: units, signs, stated method, order of magnitude of control
ULS-ETPP-TOPOSIG2 · S3Exercice33 / 37
Self-assessment and short corrected exercise — Session 3
Assignment — to submit
Consignes
I can distinguish DEM, DSM and DTM and choose between raster and TIN
I can calculate bias and root mean square error from control points
I can interpolate a level (nearest neighbour, bilinear, IDW) and justify my choice
I can draw contour lines on a triangle side and deduce the slope
I can calculate a volume by prisms, by mean of areas, by prismoidal and by Simpson
Short exercise: square of 20 m × 20 m, corner depths 1.2 ; 1.0 ; 0.8 ; 1.4 m : V = 400 × 1.1 = 440 m³ ; order of magnitude 400 m² × 1 m ; contour interval 5 m and slope 10 % : spacing 50 m
Format attendu : One-page review sheet (handwritten or digital), units and signs on each line, formula before numerical application Deposit: Optional submission on the course space ; the graded assessment of the course unit is specified in the course unit sheet Weighting: Ungraded formative exercise
ULS-ETPP-TOPOSIG2 · S3Sources34 / 37
Standardised sources sheet
Bibliography
Numbered references [S#]: S1 to S14 read (secondary open pages, 15/11/2026) ; S15 to S17 unread, to be located.
Academic
Shepard, D. (1968) — A two-dimensional interpolation function for irregularly-spaced data , Proceedings of the ACM National Conference, pp. 517-524 — cited by [S2], article unread, to be located
Sibson, R. (1981) — A brief description of natural neighbor interpolation , In Interpreting Multivariate Data — cited by [S14], unread, to be located
Reference works
To be arranged with the instructor (None) — Manual of surveying, digital terrain models and earthworks , To be located ; go through the library or purchase
Webographie officielle
Wikipedia (open secondary source) — Digital elevation model
Wikipedia (open secondary source) — Inverse distance weighting
Wikipedia (open secondary source) — Triangulated irregular network
Wikipedia (open secondary source) — Contour line
Wikipedia (open secondary source) — Kriging
Wikipedia (open secondary source) — Shuttle Radar Topography Mission
Wikipedia (open secondary source) — Earthworks (engineering)
Wikipedia (open secondary source) — Simpson's rule
Wikipedia (open secondary source) — Prismatoid
Wikipedia (open secondary source) — Bilinear interpolation
Wikipedia (open secondary source) — Delaunay triangulation
Wikipedia (open secondary source) — Lidar
Wikipedia (open secondary source) — Root mean square deviation
Wikipedia (open secondary source) — Natural-neighbour interpolation
ULS-ETPP-TOPOSIG2 · S3Lexique technique35 / 37
Trilingual lexicon — FR / PT / EN
Annexe
Digital terrain model (FR) / Modelo digital de terreno (PT) / Digital terrain model (EN)Bare ground surface, represented by spot heights
Digital surface model (FR) / Modelo digital de superfície (PT) / Digital surface model (EN)Surface including buildings and vegetation
Digital elevation model (FR) / Modelo digital de elevação (PT) / Digital elevation model (EN)Generic term for DTM and DSM
Raster grid (FR) / Grelha raster (PT) / Raster grid (EN)Regular cells, one spot height per cell
Ten self-corrected questions, only one correct answer, justification for each answer. Recommended threshold: 8 correct answers out of 10. Distribution of correct answers: a = 2, b = 3, c = 3, d = 2.
1. The SRTM mission radar measures the first surface it encounters. The model obtained in dense forest is therefore rather:
a. a terrain model, because the radar passes through trees
b. a surface model, whose elevation can be that of the canopy
c. a bathymetry model
d. a network of irregularly constructed triangles
2. An SRTM tile one degree on a side at 3 arc seconds has, per side:
a. 361 points
b. 3,601 points
c. 1,201 points
d. 1,200 points exactly, without closing point
3. Cell of 10 m, elevations 20.0 (corner 0; 0), 22.0 (10; 0), 21.0 (0; 10), 25.0 (10; 10): bilinear elevation at point (4 m; 6 m):
a. 21,88 m
b. 22,00 m
c. 21,50 m
d. 23,00 m
4. Among all triangulations of the same set of points in the plane, that of Delaunay:
a. minimises the total length of edges
b. minimises the largest angle
c. is always unique, even with cocyclic points
d. maximises the smallest angle
5. Four control points have discrepancies of +0.10; −0.10; +0.10; −0.10 m. The root mean square error equals:
a. 0,00 m
b. 0,10 m
c. 0,20 m
d. 0,40 m
6. Contour interval 2 m, slope of 20%: the horizontal spacing between two successive contours equals:
a. 0,4 m
b. 4 m
c. 10 m
d. 40 m
7. A square of 20 m × 20 m has corner depths of 1.2; 1.0; 0.8 and 1.4 m. The fill volume equals:
a. 440 m³
b. 4,4 m³
c. 1 760 m³
d. 400 m³
8. Between two profiles 30 m apart: A₁ = 10 m², mid-section 11 m², A₂ = 18 m². The prismoidal formula gives:
a. 420 m³
b. 330 m³
c. 390 m³
d. 360 m³
9. The composite Simpson's rule requires:
a. an odd number of intervals
b. all weights equal to 1
c. an even number of intervals of the same step
d. a strictly linear area
10. Among these statements on interpolation by natural neighbours, which is correct according to the source read?
a. It requires the fitting of a variogram
b. It demands no parameter and preserves values at measured points
c. It assumes a known mean
d. It only works on a regular grid
For next time
«
A terrain model is not the terrain: it is a numerical answer, of which one must always know the question, the method and the error.