I'm using a vector tile layer in QGIS, and certain symbology effects don't work very well due to (I presume) how certain features (in this case the river) have been split up across multiple vector tiles. In the example below I'm using a geometry generator expression to create buffered lines around the river edge, but the way the river polygon has been split into parts means that these buffers start and stop at certain points along the length of the river.
Upon inspection, the river is indeed split into different polygons along its length. Is there a way (maybe within the geometry generator) to merge these polygons when determining the symbology (and so remove the buffer lines mid-river)?
Alternatively, if I were to get my own polygon for the river (or other features), can I place this between some of the vector tile layers (eg below the roads but above the buildings), or do all the layers within the vector tile layer stay together (if that makes sense)?