Map geometric object to the surface of a mesh


The tool MapGeometryToMeshSurface adjusts the z-coordinates of geometric points from a given geometry file my_geometry.gml such that they are located on the surface of a given mesh my_mesh.vtu and returns an updated geometry file my_mapped_geometry.gml.


MapGeometryToMeshSurface -m [my_mesh.vtu] -i [my_geometry.gml] -o [my_mapped_geometry.gml]

Simple application example

Often, the mesh resolution and the resolution of the geometric objects like polylines are different.

The result of the application of the algorithm is shown.

Usage for the example:

MapGeometryToMeshSurface -m SubsurfaceMesh.vtu -i TestPolyline.gml -o TestMappedPolyline.gml


Karsten Rink, Lars Bilke, Olaf Kolditz: Visualisation Strategies for Environmental Modelling Data. Environmental Earth Sciences, 2014. DOI:10.1007/s12665-013-2970-2 download

This article was written by Thomas Fischer. If you are missing something or you find an error please let us know.
Generated with Hugo 0.101.0 in CI job 262272 | Last revision: October 24, 2022
Commit: [web] Update docs on notebook testing and web conversion. 1cb932f  | Edit this page on