[GRASS-user] removing small lines

Markus Neteler neteler at osgeo.org
Thu Sep 25 01:25:25 PDT 2014


On Wed, Sep 24, 2014 at 4:22 PM, Levente Juhász <jlevente89 at 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


More information about the grass-user mailing list