I'm currently running QGIS 3.6. I'm trying to set up a model that uses the GDAL 'Clip Raster by Mask' tool to extract individual rasters from a DEM. I'm using geopackage polygons as the mask layer. I have no issues carrying out a batch processing when outside of the graphical modeller.

I can't see any option to select 'batch processing' in the graphical modeller tool interface. GDAL Extract by Mask interface within graphical modeller

Is there a way to carry out batch processing within the graphical modeller?

  • 1
    I think what you need is a processing script that will use that algorithm. The model is designed to define workflows and then the batch is run outside. Commented Mar 11, 2019 at 5:33
  • This is an older question, but were you looking to create one raster file for every polygon in a layer? If so, this is entirely possible in the modeler without batch processing.
    – Gabriel
    Commented Jun 27, 2019 at 13:45

1 Answer 1


The processing algorithms in the graphical modeler are not exact copies of the tools outside the modeler. One of the differences, as you discovered, is the absence of batch processing.

To "batch process" in the modeler, you have to add the algorithm to the model multiple times. Unfortunately there's no way to copy/paste or duplicate an algorithm, so you have to enter all the parameters again.

The processing modeler is not perfect.

  • Not sure if this was valid for older versions, but in current versions (e.g. QGIS 3.34), you can copy/past algorithms in the model. Of course, you then have to manually change settings.
    – Babel
    Commented Dec 3, 2023 at 15:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.