3

I am trying to create a 3D View in QGIS 3.6.0, but the buttons for data defined parameters (e.g., width or height) are missing in the Layer Properties dialog (see screenshow below)

screenshot layer properties

I want to set the extrusion and width of my Line geometries according to feature attributes.

Can this be a bug, or am I missing something?

1 Answer 1

4

Data defined override (expression) button is not supported in polyline and point layers, but available in polygon layer:

For Polygon:

enter image description here

For Polyline:

enter image description here

For Point:

enter image description here

This means you cannot use Data defined override (expression) for your line layer.

3
  • Thanks, I thought so, although I do not fully understand the reason for this. My use case would be the visualization of traffic flows in a street network.
    – Roland
    Jun 24, 2019 at 11:25
  • I also do not know the reason. Maybe it will be added in the future since 3D rendering is new to QGIS 3.
    – ahmadhanb
    Jun 24, 2019 at 11:27
  • Here's the github commit that added the data-defined polygon heights: github.com/qgis/QGIS/commit/… Maybe this is a roadmap for how to add it for other geometries.
    – Dave X
    Nov 19, 2020 at 2:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.