[GRASS-dev] Re: [GRASS-user] [bug #2765] v.buffer bug??
dylan.beaudette at gmail.com
Sun Oct 1 16:27:02 EDT 2006
will try it out on the latest CVS,
PS: pardon my stupidity, but how would i apply this patch (forgot!)
On 10/1/06, Hamish <hamish_nospam at yahoo.com> wrote:
> Bug log:
> > http://intevation.de/rt/webrt?serial_num=2765
> I have a patch I think gets around the famous v.buffer bug (attached),
> please test.
> I say "gets around" the bug more than solves it, as while I know that
> the bug happens when the "sa" segment loops back to "0" and then the
> total number of points is set by the final segment number(+2), I don't
> really know why, or if this is the problem or the problem is the setting
> of npn (total number of points) directly from the seg ID number.
> [ lib/vector/Vlib/buffer.c clean_parallel() ]
> So this patch just makes sure that we don't set npn from a smaller "sa"
> value than was found in the data.
> This fixes the buffer for the test polygon found in the bug log.
> I don't know if it fixes the hole-gets-filled-in area problem.
> grassuser mailing list
> grassuser at grass.itc.it
More information about the grass-dev