QGIS – Transforming Points into Graduated Segments in QGIS Using Geometry Generator

expressionfield-calculatorgeometry-generatorqgissegment

In QGIS 3.16 I've got a point layer for several sample points in a coastal stretch. The attribute "EPR0113_er" indicates the erosion rate recorded at that point and I would like to represent it, not as a point, but as a segment whose length is related to the "EPR0113_er" value.

I've been trying different approaches using the Geometry Generator tool, without success. Any ideas about how to build it?

Best Answer

You can use wedge buffer:

wedge_buffer($geometry, 120, 10, "rate", 0)

enter image description here

Related Question