13

Even though I specify specific files for output, there are still a lot of temporary data being written to C:\Users\me\AppData\etc

My C drive is a very limited capacity SSD and it's driving me nuts that I can't tell where QGIS to go for ALL temporary data.

Maybe there's a configuration file (python, etc) that I can change this value assuming there's no dialog box in the UI to do that? Has anyone successfully changed this?

I already changed the option in Processing->Options but that's the "default" directory for writing out files, not for temporary data.

0

2 Answers 2

16

In Settings -> Options -> System of QGIS, you will be able to see the read only current environment variables of your system; precisely the folder where your temporary data are being written (see next image).

enter image description here

You can edit the path of these folders by using the Control Panel of Windows (filtering by env at the browser); see next image.

enter image description here

1
  • is there a way of doing this not for the QGIS GUI, but when running QGIS functions from python using the qgis.core. I've set the temp dir for my processing to where i want it, but the qgis functions seem to be always do QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-userX'
    – Momchill
    Commented Oct 22 at 10:44
-1

Some QGIS installers have this option in advanced section to install this Local Package Directory; as it can be observed in following image:

enter image description here

1
  • 1
    This answer is not related to the question. Commented Dec 30, 2020 at 16:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.