[GIS] Compatibility error (multipolygon – polygon) when merging two features

qgis

I have merged two vectors layers. When I try to merge two features –
originally from two different source layers, now in the Merged layer – I get this error:

Layer Merged: Geometry type MultiPolygon not compatible with provider type Polygon.

I'm not sure how to solve this.

1) To begin with, how can I successfully merge two layers if they have different geometry types?

2) In my case, how to understand which source layer is considered by QGIS as a MultiPolygon and which on is a Polygon. In their Properties -> Metadata -> Properties -> Geometry type of the features in this layer
they both appear as Polygon (WKB type: "Polygon").

3) How to manipulate the layers so to successfully merged features from the two source layers?

Best Answer

You can use the "Singleparts to multipart" tool to convert your Polygons to multipolygons before merging to avoid this conflic. Make shure you set a unique ID as "Unique ID field" to avoid your polygons from getting merged.