[GRASS-dev] Re: [GRASS GIS] #836: quiet processing in v.net.path
GRASS GIS
trac at osgeo.org
Tue Dec 15 21:16:30 EST 2009
#836: quiet processing in v.net.path
---------------------------+------------------------------------------------
Reporter: 09091968 | Owner: grass-dev at lists.osgeo.org
Type: enhancement | Status: new
Priority: normal | Milestone: 6.4.0
Component: Vector | Version: 6.4.0 RCs
Resolution: | Keywords: v.net.path
Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment (by hamish):
It uses G_warning(), which can not be surpressed at run-time.
if you run GRASS with a MSys terminal you could redirect the error
messages to a file or to the dustbin with something like:
{{{
v.net.path ... options ... 2> v.net.path.err
}}}
or from the dos prompt with something like
{{{
v.net.path ... > nul:
}}}
In general throwing away all warning and error messages can be quite
counter productive as you might miss the real ones.
I don't think there will be a way to shut them off from the GUI right now.
Q: are those messages (from v.net.path/path.c) informational (and so
should use G_message()) or actually quite important to know (so stay with
G_warning()) ?
I don't know enough about the module to answer that.
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/836#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list