[Qgis-user] QGIS Modeler: Automatic Deletion/Overwriting of output files (precalculated value)?

celati Laurent laurent.celati at gmail.com
Mon Jan 12 10:05:52 PST 2026


 <https://gis.stackexchange.com/posts/499675/timeline>

Dear all,

<https://gis.stackexchange.com/posts/499675/timeline>

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20260112/8060c5bb/attachment.htm>


More information about the QGIS-User mailing list