Appearance
Relate Calculator results
Relate IMAER layers to one another by calculating the difference, sum or maximum values of the receptor's deposition values.
Howto
You will need at least 2 IMAER layers, loaded with the Import IMAER GML tool.
- Click the Relate calculation results button to open the dialog.
- Choose the
calculation type(difference, sum or maximum). - By default, the name for the new layer will be the name of the calculation type. You can choose a more specific name in the
layer nameinput widget. - Choose the layers to perform the calculation on. (In case of calculating the difference, is will be layer1 minus layer2)

A new memory layer will be created, holding all receptors from the input layers. In case a receptor only exists in one of the layers, the calculation will use the value 0 for the missing receptor.

The generated memory layer will have a predefined, 2 color style showing positive or negative values. This style can of course be changed with standard QGIS functionality.

Output layers will have the same deposition fields as the IMAER layers so they can be used with this relate function as well. For example for summarizing more than 2 layers.
Processing
The relate functions are also available as algorithms in the processing toolbox. These can be used in a more generic way, for example combined with other algorithms in a model. And it's possible to call them from a Python script.

Remarks
- The
differenceoperation works on 2 layers, but thesumandmaximumcan work on up to 5 layers.