I have a shapefile made up of a number of polygons. Neighboring polygons often share an attribute.
What I need to do is buffer these polygons based on the common attribute. However, I would like to expand said buffers until they meet, at which point they can stop.
I have a hastily put together mock-up:
All I have code-wise is the following:
from qgis.core import *
from qgis.analysis import *
layer=qgis.utils.iface.activeLayer()
QgsGeometryAnalyzer().dissolve(layer, "D:/test_dissolved.shp", onlySelectedFeatures=False, uniqueIdField=3, p=None)
Truthfully I am not very well versed in the QGIS API documentation and despite my best efforts I cannot find a suitable method for this.
QgsGeometryAnalyzer().dissolve
allows me to dissolve the buffer but that isn't what I am after.
Should I perhaps be looking in another direction here?