I have a line layer and want to add a series of 10 single sided buffers with increasing distance: 1, 2, 3... to 10. With geometry generator, I created this valid expression:
array_foreach( generate_series(1,10,1), single_sided_buffer( $geometry,@element) )
The output of this is an array of geometries. I can get the geometry with
array_get( array,index), but like this it's only possible to render one geometry. However, I would like to display all 10 buffers, thus collect all ten geometries contained in the array. How is this possible with expressions?