Bug report #15810

Updated by Anita Graser over 5 years ago

I'm using geometry generator to buffer island polygons and style them with a dashed outline. The style looks wrong if applied to multipart features. It seems like the geometry generator computes the buffer around all features for every part of the multipart feature. So if there are three parts, all buffers are drawn three times on top of each other.



I can work around it with a more elaborate expression, but I think that's not how it is supposed to be:



<pre>

if (

@geometry_part_count > 1,

buffer( geometry_n( $geometry, @geometry_part_num), 0.5 ),

buffer( $geometry, 0.5 )

)

</pre>

Back