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
`self.parameterAsOutputLayer`?

Using
`QgsApplication.processingRegistry().parameterType('rasterDestination')`
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.

Thanks,
Rudi
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to