Projection of 2D points on a terrain (Clamped to Terrain option) seems to use a nearest neighbor approach. As it is not the same as that used to draw the terrain profile in the Elevation Profile view (interpolation) we observe inconsistencies when zooming in the elevation profile view (cf. picture below).
Steps to reproduce the issue
Create a layer with points
Clamped them to terrain (Settings -> Elevation tab)
Observe the point on a elevation profile
Versions
3.40.0
Supported QGIS version
[X] I'm running a supported QGIS version according to the roadmap.
What is the bug or the crash?
Projection of 2D points on a terrain (Clamped to Terrain option) seems to use a nearest neighbor approach. As it is not the same as that used to draw the terrain profile in the Elevation Profile view (interpolation) we observe inconsistencies when zooming in the elevation profile view (cf. picture below).
Steps to reproduce the issue
Versions
3.40.0
Supported QGIS version
New profile
Additional context
No response