[GRASS-dev] [grass-code R][525] v.buffer: switch to disable
tolerance WARNING
Glynn Clements
glynn at gclements.plus.com
Thu Nov 1 22:16:42 EDT 2007
grass-dev at grass.itc.it wrote:
> 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).
Another option is to prevent the warning from being issued more than
once.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list