[GRASS-dev] New directional buffering module or modified v.buffer

Trevor Wiens twiens at interbaun.com
Wed Mar 14 18:11:43 EDT 2007


On Wed, 14 Mar 2007 13:55:15 -0700
Dylan Beaudette wrote:

> On Wednesday 14 March 2007 13:00, Trevor Wiens wrote:
> > I posted a question some time ago about directional or differential
> > buffering. I've managed to resolve my bugs and am now unsure what is the
> > best way to incorporate this code back into GRASS. I assume it is
> > desirable as I assume others may find it useful from time to time.
> 
> Hi Trevor. Can you elaborate on what was causing the 'spikes' in your 
> previously posted version?
> 

There were two problems, one related to a sign issue in my own
code. The second related to inserting segments to round
corners when there is a change in direction. The buffer.c
Vect_line_buffer code inserts an additional point and then re-inserts
the starting point to close the polygon. I wasn't able to grok its
location calculation so by simply commenting out the problem went away.
It doesn't appear to cause any problems when inspecting the results
visually.

T
-- 
Trevor Wiens 
twiens at interbaun.com

The significant problems that we face cannot be solved at the same 
level of thinking we were at when we created them. 
(Albert Einstein)




More information about the grass-dev mailing list