Raster Calculator
raster_calculatorPerform raster band math using QGIS expressions, referencing layers as 'name@band', and write results as GeoTIFF.
Instructions
Band math via the QGIS raster calculator. Reference loaded raster layers in the expression as 'LayerName@band' (e.g. '("dem@1" > 1000) * 1'). Writes a GeoTIFF to output_path. Output grid, extent and CRS taken from reference_layer (layer id or name), defaulting to the first loaded file-based raster.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | ||
| output_path | Yes | ||
| reference_layer | No |