[GRASS-user] [bug #2765] v.buffer bug??

Dylan Beaudette dylan.beaudette at gmail.com
Sun Oct 1 16:27:02 EDT 2006


thanks hamish,

will try it out on the latest CVS,

PS: pardon my stupidity, but how would i apply this patch (forgot!)

Dylan

On 10/1/06, Hamish <hamish_nospam at yahoo.com> wrote:
> Bug log:
> > http://intevation.de/rt/webrt?serial_num=2765
>
> Hi,
>
> 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.
>
>
> Hamish
>
>
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser
>
>
>
>




More information about the grass-user mailing list