[GRASS-dev] removal of status messages from the vector cleaning
markus.metz.giswork at googlemail.com
Wed Aug 19 11:37:24 EDT 2009
> I'm a bit frustrated by this change:
> "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
I added G_percent and G_verbose_message in grass7 r36493 to all cleaning
functions present in the vector libs, the cleaning functions present in
v.clean also have now G_percent and G_verbose_message. I was not aware
that there was something similar but non-standard in pre r34284, that
was before I started working on the vector libs.
Should these calls to G_percent and G_verbose_message in the cleaning
functions be backported to 65 (and 64) ?
Vect_break_lines_list is terribly complicated code, I had a look at it
but could not come up with good ideas to speed it up. So even if you see
progress with G_percent, you may see not a lot of progress...
FWIW, I added in r36493
G_percent(iline, nlines, 1);
G_percent(iline, nlines, 3);
because it really is very slow.
> 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
> + 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%. :-/
> grass-dev mailing list
> grass-dev at lists.osgeo.org
More information about the grass-dev