QGIS MultiPolygon – Combining Multiple Polygons into One MultiPolygon in QGIS

multi-polygonmultipartpolygonqgisqgis-processing

QGIS 3.34.3 has a processing function "Multipart to singleparts". But what about the other way around? What is the easiest way to create a MultiPolygon from several polygons?

Best Answer

"Collect geometries" processing algorithm is what you are looking for.

Takes a vector layer and collects its geometries into new multipart geometries.

One or more attributes can be specified to collect only geometries belonging to the same class (having the same value for the specified attributes), alternatively all geometries can be collected.

All output geometries will be converted to multi geometries, even those with just a single part. This algorithm does not dissolve overlapping geometries - they will be collected together without modifying the shape of each geometry part.

Related Question