Digital Terrain Modelling ๐๏ธ
June 20, 2025Less than 1 minute
A1
The aim of the assignment is to extract the isolines from a triangulated TIN, and structure them so that we can easily create Tanaka contours with QGIS.
The Tanaka contours method, named after the cartographer Kitiro Tanaka who formalised it in 1950, is a visualisation method to shade isolines to give a better impression of the relief of a terrain (more information on Wikipedia). The lines are illuminated/white when facing the source of light, and shaded/black when not. As is usually the case with the visualisation of terrains, we use the North-West direction as the source of light (why that is).
Namely, to develop a Python program that:
- reads a gridded DTM (in GeoTIFF format);
- randomly samples some of its cells;
- creates the Delaunay triangulation (DT) of the samples;
- outputs a GeoJSON of the contours and the DT (in PLY format).