Terrain

Terrain#

DTM generalisation#

sculpt_dtm

This algorithm generalizes a Digital Terrain Model (DTM) by smoothing the terrain while preserving significant features such as ridges and valleys.

douglas_peucker_3d_DTM

Generalise a DTM based on a selection of points in 3D, in a fashion similar to the Douglas-Peucker algorithm.

DTM tools#

calculate_curvature_and_slope

Computes approximations of the curvature (profile/plan) and the slope in an input DEM.

calculate_hillshade

Computes the hillshade of an input DEM based on pure numpy operations.