[QGIS-Developer] How to create temporary raster destination path in script?

Rudi von Staden rudivs at gmail.com
Mon Aug 13 05:36:02 PDT 2018

Hi all,

I'd like to create a temporary raster file in my script, but I don't want
to add it as an output layer (it's an input to another step of the
process). Is there some tooling to create the path (e.g. to pass as output
parameters to algorithms called with processing.run) outside of using

seemed promising, but I haven't been able to get an output path from that.

If not, I can just roll my own using os.environ['TMP'] but I would prefer
to follow the QGIS coding practices where possible.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180813/3f399339/attachment.html>

More information about the QGIS-Developer mailing list