This tool allows to modify the elevation values of a topography/bathymetry raster (DEM) in a given area. The areas to be modified must be defined by masks contained in a vector file (Shapefile; .shp).

#### I- Input layers

Select the topography raster (DEM) you want to edit and the vector layer containing the masks of the areas to be modified.If you want to modify the DEM using only certain masks, you can select these masks on the map canvas and then check the Selected features only checkbox.

#### II- Parameters for the topography modification

The topography modification can be performed in one of the two following ways:

Modify with formula:
If you have a formula, enter it in the text field or, if it is in the attribute table (e.g.: it’s different for each mask), please select the corresponding attribute field by pressing the override button on the right.
The formula must include H, which will correspond to the original elevation value (e.g.: the formula H*3 will multiply all the values by 3).
Arithmetical operators must be explicitly defined (operations like 2H will not work).

You may enter a minimum and maximum bounding values or choose to take them automatically from the attribute table (Button on the right side). These will constrain the range of elevation to be modified.

Rescale with final minimum and maximum values
This will linearly rescale the topography and bathymetry.
You need to specify the final minimum and maximum elevation of the resulting topography. These can be taken automatically from the attribute table (please specify the fields), or you can enter them manually in the text boxes.

Output file path:
If there is no path specified here, the file will be created in the temporary folder. The full path will be shown in the Log tab and the result will be loaded to the map canvas.

Warning: Please avoid using these characters in the file name, as they might cause processing errors: ( ) / - % $ @ #
Note: If this tool is used repetitively with no path specified, previous results will be overwritten. To avoid this, specify a different path (or filename) each time