This operation computes the difference and the intersection between the objects of two vector layers (A and B).
The result will contain all geometries
generated by the DIFFERENCE (A - B) and the geometries generated
by the INTERSECTION (A Intersection B).
The attributes of the result will have at least an ID, and a GEOMETRY.
Besides that, other attributes from A and B can be chosen to compose
the new layer. In this case, the geometries generated by the DIFFERENCE
will have values only for the attributes from A, and the geometries generated by the INTERSECTION will have values for all attributes (A and B).
It is accessed through:
Processing > Vector Processing > Identity...
- Input Layer (A) : select one layer to use as reference.
- Only selected : Optionally, check this option if you wish to process only the objects that are selected in the map display.
- Intersection Layer (B) : select other layer to process the difference and the intersection and generate new geometries.
- Only selected : Optionally, check this option if you wish to process only the objects that are selected in the map display.
- Additional Attributes from A and B: : Optionally select attributes from A and B to be added to the new layer.
- Output: inform the repository by clicking on:
to select the output directory and also inform the new layer name to store the result, or
to to select the Data Source (giving its connection parameters).
- Layer Name: inform the new layer name to store the result at the data source.
- Click OK to perform the operation or Cancel to close the interface.