Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elevation profile DTM interpolation method may not be consistent with the projection of 2D point on terrain #59535

Open
2 tasks done
Simon-Lopez opened this issue Nov 20, 2024 · 0 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Profile tool

Comments

@Simon-Lopez
Copy link
Contributor

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).

image

Steps to reproduce the issue

  1. Create a layer with points
  2. Clamped them to terrain (Settings -> Elevation tab)
  3. Observe the point on a elevation profile

Versions

3.40.0

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@Simon-Lopez Simon-Lopez added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Profile tool
Projects
None yet
Development

No branches or pull requests

2 participants