[GRASS-user] eliminate some lines

Markus Neteler neteler at itc.it
Thu Nov 2 05:04:27 EST 2006


On Thu, Nov 02, 2006 at 10:24:49AM -0500, temiz wrote:
> /*hello
> 
> I  couldn't do with v.clean what I wanted to do.
> I want to eliminate all lines whose their langth are under 20 m.
> 
> what is the solution ?
> 
> regards
> */

You could add a new column with v.db.addcol and then
upload the vector line lengths to this column with
v.to.db and option=length.
Then use v.extract with a simple SQL rule to extract
all but lengths < 20m.

Markus




More information about the grass-user mailing list