[GRASS-user] removing small lines

Hi all,

I’ve seen that the remove_small method of v.generalize has been eliminated. Reduction method does not work in the way I want since it just removes point from lines and it seems like has no effect on a line of 2 points - even if they’re smaller than the threshold.
Can someone tell me what the workaround is for removing small lines from a vector for example by a threshold in map units?

Cheers,
Levente

On Wed, Sep 24, 2014 at 4:22 PM, Levente Juhász <jlevente89@gmail.com> wrote:

Hi all,

I've seen that the remove_small method of v.generalize has been eliminated.
Reduction method does not work in the way I want since it just removes point
from lines and it seems like has no effect on a line of 2 points - even if
they're smaller than the threshold.
Can someone tell me what the workaround is for removing small lines from a
vector for example by a threshold in map units?

You may use v.to.db and option=length (line length), then use
v.extract to extract into a new map according to a threshold you need.

Markus