Set the VRT cache directory
Destroy the VRT cache directory
Details
The default cache location is tempdir()
. This function allows you to set
the cache location to a different directory. It is mainly useful if you
intend to work with parallel processing. vrtility
depends on saving many
vrt files to disk and passing these files between processes fails when using a
temporary directory.
A helper function that will destroy the VRT cache directory. This is useful
if you want to clear the cache directory and start fresh. If the cache
directory is set to tempdir()
then the function will warn you that this is
a bad idea and will not proceed.