[GRASS-dev] Re: [bug #2765] (grass) v.buffer produces strange results

Hamish hamish_nospam at yahoo.com
Wed Sep 13 00:31:13 EDT 2006


Maciej Sieczka wrote:
> > I get identical results, which is reassuring. (this is cat #1188 or
> > so from the 'ditches' map)
> 
> Some good news! Do you maybe have an idea how to fix that?


The loop processing segments sa and sb in clean_parrallel() wraps back
to the first segment, and the bug resets the number of points based on
the last segment seen (ie sa back to "0"), not the maximum number of
points added to the output group. (see debug output in bug history)

(clean_parallel() is in lib/vector/Vlib/buffer.c)

Hopefully that is enough of a clue for someone to find a solution. I
won't have any time to work on it for the next week or two, but would
like to see this fixed and tested for the 6.2.0 release.


Hamish




More information about the grass-dev mailing list