[GRASS-user] r.terraflow problem

Markus Neteler neteler at osgeo.org
Thu Apr 13 12:57:21 PDT 2017


On Thu, Apr 13, 2017 at 5:37 PM, Moritz Lennert
<mlennert at club.worldonline.be> wrote:
> On 13/04/17 17:05, Filipe Dias wrote:
>>
>> That directory does not exist. Directing the temporary files to an
>> existing directory allows the tools to run:
>> "directory=/home/fd/Desktop/tmp".
>>
>> I am guessing this is a bug? By the default the tool should send the
>> temporary files to /tmp or prompt the user to manually insert a path
>> (currently "directory" is not mandatory)
>
>
> By default, the module creates creates a directory using G_tempfile() which
> creates a temp path in the current mapset directory and G_mkdir() which
> creates a directory using that path.

BTW: only for vector maps the TMPDIR can be elsewhere, not for raster
so far. See

https://trac.osgeo.org/grass/ticket/2349#comment:36

(and related grass-dev discussion)

Markus


More information about the grass-user mailing list