The generation of a topographical surface or digital elevation model for a given set of points in space is a known problem in civil engineering and topography. In this article, we propose a simple and efficient way to obtain the terrain surface by using a structural shell finite element model, giving advice on how to implement it. The proposed methodology does not need a large number of points to define the terrain, so it is especially suitable to be used with data provided by manual topographical tools. Several examples are developed to demonstrate the easiness and accuracy of the methodology. The digital terrain model of a real landscape is modeled by using different numbers of points (from 49 to 400) using a regular mesh or a randomly generated cloud of points. The results are compared, showing how the proposed methodology creates a sufficiently accurate model, even with a low number of points (compared with the thousands of points handled in a LiDAR representation). A real case application is also shown. As an appendix, the sample code to generate the examples is provided.
This paper presents a finite element methodology for generating continuous digital elevation models (DEMs) from discrete terrain data using the Poisson equation under steady-state conditions. Unlike conventional DEM interpolation techniques, the proposed methodology formulates terrain reconstruction as a constrained harmonic problem, solved directly on scattered point sets using standard finite element procedures, without requiring structured grids or intermediate interpolation stages. The approach interprets the elevation field as a harmonic scalar function whose smoothness is enforced by the variational formulation of the Poisson problem. The governing equation is solved using standard finite element procedures with Dirichlet boundary conditions applied at the measurement points, ensuring that the reconstructed surface passes exactly through the known elevations. The isotropic conductivity coefficient is set to unity and the source term to zero, which simplifies the formulation and yields a harmonic interpolation independent of any physical parameters. The resulting surfaces exhibit continuous slopes and reduced sensitivity to irregular data distributions. Numerical tests comprising two analytical examples and a real terrain case show that, compared with thin-plate FEM and RBF–NURBS reconstructions, the proposed Poisson-based approach yields smoother and more stable surfaces, with global errors of the same order of magnitude and reduced computational cost.