[GRASS-dev] Re: [GRASS GIS] #91: ps.map doesn't remove .tmp files
when it is done
GRASS GIS
trac at osgeo.org
Tue Jun 10 01:22:23 EDT 2008
#91: ps.map doesn't remove .tmp files when it is done
----------------------+-----------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: | Keywords: ps.map
----------------------+-----------------------------------------------------
Changes (by hamish):
* keywords: => ps.map
Comment:
Replying to [comment:2 neteler]:
> Any objections that I apply attached patch?
There is a problem with the patch-
If the ps.map instructions include both masked and unmasked plotting
commands, the plot command file will be removed after the first pass and
the unmasked items will not be drawn because the file is missing.
Better to move the unlink to a cleanup section at the very end of
ps_map.c? or main.c, it already does {{{unlink (ps_mask_file);}}} just
before exit().
also it would be nice to observe this part of the wish:
"They are human readable and useful for debugging, so it would be nice to
only remove them if the g.gisenv DEBUG level was below some threshold."
Hamish
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/91#comment:3>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list