[GIS] How to create a multipart polygon

polygonpolyline-creationqgis

I have two polygons that consist of two separate polygons/lines in QGIS). How can I make this into a multipart polygon, which consists of 1 line in QGIS?

Best Answer

For anyone coming to this with newer versions of QGIS, the function to do it is now called "Collect Geometries" rather than "Single parts to Multipart" so it's now Vector > Geometry Tools > Collect Geometries. You can then choose a field (or fields) to use as your grouping variable (Unique ID Fields). I used it to fix up some statistical areas which included non-contiguous polygons (islands in fact) where I'd ended up with 1 record for each separate polygon, but wanted 1 record for each statistical area. The reason I needed THAT was because I'm joining it to data in Tableau and ended up with a whole bunch of duplication happening around the coast due to the islands.

Related Question