qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.43k stars 2.99k forks source link

Bug: [3D] MNT and altitude binding error #54998

Open soaubier opened 11 months ago

soaubier commented 11 months ago

What is the bug or the crash?

When the altitude binding for the roads is set to 'centroid', they do not conform to the terrain. When set to 'vertex', they disappear.

Steps to reproduce the issue

  1. Go to "https://gitlab.com/Oslandia/qgis-3d-test-projects"
  2. Git clone the repertory
  3. Go to "luxembourg Sanem"
  4. Open "luxembourg-sanem.qgs" on qgis

Versions

The QGIS version : 3.33.0-Master - Point Release

Supported QGIS version

New profile

Additional context

We can see flying roads in the centroid case and invisible roads in the vertex case. Peek 18-10-2023 14-43

Altitude binding : vertex

roads_vertex

Altitude binding : centroid

centroid_roads

jamiedtor commented 7 months ago

I have observed this same problem with 3.34.3. We are making use of a DTM as the terrain. Atltitude clamping for a series of polygons results in no change for the representated elevation, whether set to vertex or centroid.