[GRASS-dev] removal of status messages from the vector cleaning fns
Hamish
hamish_b at yahoo.com
Wed Aug 19 08:57:45 EDT 2009
Hi,
I'm a bit frustrated by this change:
https://trac.osgeo.org/grass/changeset?new=grass%2Ftrunk%2Flib%2Fvector%2FVlib%2Fbreak_lines.c%4034284&old=grass%2Ftrunk%2Flib%2Fvector%2FVlib%2Fbreak_lines.c%4033769
"Eliminate non-standard logging mechanism"
basically Vect_break_lines() and friends had its own custom G_percent()
thing going on and that's been removed and not been replaced by
anything.
The problem I have with that is those functions can take literally
hours to run and all progress messages have been completely removed
from them. Now there is no idea to tell how long these jobs are going
to take.
I tried adding in
lib/vector/Vlib/break_lines.c
+ if (G_verbose() > G_verbose_std())
+ G_percent(iline, nlines, 3);
but I'm not sure if it will work / if I put it in the right spot.
so far my jobs been running for about 30 min and it's still sitting
at 0%. :-/
thanks,
Hamish
More information about the grass-dev
mailing list