After running a GRASS watershed algorithm I've got nine new layers:
Each one is in its own folder with a long hex name under a processing
folder with a long hex name:
/tmp/processing_7dcdb54465034e139116032dc507384b/d6a3c2fc521146f792f01b0fc6c6acad/spi.tif
/tmp/processing_7dcdb54465034e139116032dc507384b/b7fe7e0b26934216b084c456f90f8873/drainage.tif
These are in a temporary folder (/tmp
) so what I want to do is copy them to a less temporary folder (eg in my /home
) and (ideally) update the QGIS layers to point to them in their new location.
I tried some plugins that do this kind of thing but for all layers, in order to make a transportable set of data and QGS project files:
QConsolidate3
: "Error: Parse error at line 1, column 1: error occurred while parsing element" on running it. Output folder empty.QPackage
: Install fail with "TypeError QVariant object is not subscriptable"relocator
: mentioned in another SO post, can't see it in my plugin dialog.
I could move that processing
folder but there are also a few other folders in there with things I don't want. Selecting all the raster layers and using "Save As" or "Export" only saves the first layer.
I think (before I write a plugin to do this myself) I can create a layer definition file from the group, get the paths, and move the files manually. Luckily I've not set up any complex styles (yet) so losing the styles isn't too much trouble. But if I'm missing an easy way to do this I'd like to hear it...
Of course what I probably should have done is set the GRASS output folder to be where I wanted it in the first place....