Union

Union operation is  a special kind of union. It calculates the intersection between the Input Layer (A) and  Overlay Layer (B) by generating a geometry for each intersection, calculates  the difference between A and B, and also calculates the difference between B and A. All geometries generated by these three steps will be part of the result. 

The attributes from A and B can be selected to compose the result. The geometries generated by the intersection will have values for all attributes selected by A and B. The geometries generated by the difference between A and B  will have values only for the attributes originally from A, and the geometries generated by the difference between B and A will have values only for the attributes originally from B.

It is accessed through:

    Processing > Vector Processing > Union...

  1. Input Layer (A): select one layer from the list
  2. Overlay layer (B): select layer B to compute the union with. 
  3. Output Object Type: default is Single objects, meaning it will generate simple geometries.  Multi Objects means the geometries can be grouped (MultiGeometry).
  4. Output Repository:  inform the repository by clicking on:
  5. Click OK to perform the operation or Cancel to close the interface.