I have a stream segment for which I am trying to find a buffer around with criteria as 5m of elevation. So for each straight line within a stream segment, I have found buffer (polygon) for it. Now I need to merge this buffers in such a way that they form a continuous single polygon i.e. without any gaps and overlaps between them. Is there any way in QGIS or any python code to achieve the same?