Hi celati, QGIS Modeler doesn’t really have a built-in “clean intermediate outputs on rerun” option. The usual workarounds are: Enable overwrite: Processing -> Options -> General -> Overwrite existing files. For many GDAL outputs (like GeoTIFF) this is enough. Delete first, then run: Add a first step in the model that deletes the known intermediate files (if you have a delete/remove tool available in your Processing toolbox - often under GDAL). Since your filenames are fixed, it’s straightforward. If you don’t have any delete tool available in Modeler, the reliable fallback is running the model from a small script that deletes the intermediate folder contents before launching the model. I hope this helps.
> On 01/12/2026 7:05 PM CET celati Laurent via QGIS-User > <[email protected]> wrote: > > > > > Dear all, > > > > I'm working with QGIS 3.40. > > I've set up a small QGIS modeler with several inputs, algorithms, > intermediate outputs, and a final result (model output). For the intermediate > algorithm outputs, I've defined a "pre-calculated value" with a relative path. > > Here 's the expression setted : > > > @project_home || '/intermediaire' || '/segmentation_raster' || '.tif' > > > > > All my intermediate outputs are stored in a folder named "intermediate". Each > output file has a predefined name and extension. > > This works. However, I would like these 'intermediate' files to be > automatically deleted/overwritten each time the modeler is run again > (delete/replace the output files from the previous run). > > Could you give me some guidances, provide some ways to do that ? Thanks so > much. > _______________________________________________ > QGIS-User mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > [FiberQ] Vladimir Vuković Author of FiberQ [email protected] mailto:[email protected] fiberq.net https://fiberq.net +381 60 426 2012 tel:+381604262012
_______________________________________________ QGIS-User mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
