[GRASS-user] Why Does Re-projection Increase Disk Space Used? [UPDATE]

Glynn Clements glynn at gclements.plus.com
Thu Mar 15 10:50:54 EDT 2012


Rich Shepard wrote:

>    Related question: if they're no longer needed, why doesn't grass remove
> them from the hard drive?

Which OS?

r.proj calls remove() on the temporary file immediately after opening
it. On Unix, that removes the directory entry, and will cause the file
itself to be deleted as soon as r.proj terminates. On Windows, the
remove() call will fail (you can't delete an open file on Windows),
and the file will be left behind.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list