Bug report #17530
3d: not possible to use linestrings with z coordinates
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||25427|
Currently it's not possible to use linestrings with z coordinates in the absolute height mode.
This is because linestrings are buffered using geos at qgsline3dsymbol_p.cpp:121 - which resets all z values to 0. I'm not sure what the best approach here is. Potentially we could loop through the vertices in the buffered geometry, finding the closest corresponding vertex in the original linestring, and assigning its z value to the buffered geometry.