I have polygons shapefile in which some of the polygons have same attributes as seen below:-

enter image description here

In QGIS, how do I merge the polygons having the same attributes into one polygon?

In other words, am looking for a way to merger polygons/attribute of the same layer, that is similar way of merging vector layers found at: Vector >> Data Management Tools >> Merge Vector Layers

enter image description here


You can use the Singleparts to Multiparts in the Vector Geometry tools section of the processing toolbox to do this. It will prompt you for the input layer (from a dropdown list) and the Unique ID field (Ward Code) and you can specify an output file name.

| improve this answer | |

If I understand your question right you can use the 'Dissolve Tool' in 'Geoporcessing Tools' in QGIS.

enter image description here

"Bayelsa Wards" would be your 'Input vector layer' and "Ward code" the 'Dissolve field'.

| improve this answer | |
  • In QGIS 2.16 on windows you will have a 'Dissolve all" check box which you will need to turn off. Then select the dissolve field as in @poellinf 's answer – Martin Hügi Mar 25 '17 at 9:55
  • @MartinHügi thank you for the additional information. To complete my answer, I'm using QGIS 2.18.0 on MacOS 10.11.6 – blabbath Mar 25 '17 at 10:32
  • Ok, thanks for your time. However, @iant's reply below did exactly what I wanted (I wanted multiple polygons to share the same attribute). So "Singleparts to Multiparts" is what I wanted not "Dissolve". – userPyGeo Mar 26 '17 at 16:07

You can merge the field with the selection tool and the merge polygons, however you must select the fields from the attribute table.

the merge tool 3rd red scissors

table attribute select the yellow pencil to edit the shapefile table attributes >select the IDs you want to merge by shift button Click the merge button on the main interface

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.