[GRASS-dev] [grass-code R][525] v.buffer: switch to disable tolerance WARNING

grass-dev at grass.itc.it grass-dev at grass.itc.it
Thu Nov 1 16:55:41 EDT 2007


code R item #525, was opened at 2007-11-01 21:55
Status: Open
Priority: 3
Submitted By: Andras Fabian (alpilotx)
Assigned to: Nobody (None)
Summary: v.buffer: switch to disable tolerance WARNING 
Issue status: None
GRASS component: None
Operating system: None
Operating system version: 


Initial Comment:
Hi, 

I have just experienced, how expensive it can be, to write a WARNING out for every point, when buffering. I try to build simple buffers (only 8 points needed) around a lot of points - in one case 370.000 - and for the reason I choose a high tolerance value (to be sure, it will be reset to the max allowed one). THis works, but takes unbelievably long with all the warnings:
"WARNING: The tolerance was reset to ..."

Now I have commented out the warning in main.c of v.buffer, and suddenly it is running like mad (30 seconds instead of over 10 minutes). So maybe it would be nice to :
- either add another switch to turn off this warning
- or include it under the "--quiet" option (NO warning if "--quiet" set).

Andras Fabian

----------------------------------------------------------------------

You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=188&aid=525&group_id=21




More information about the grass-dev mailing list