[GRASSLIST:390] Re: v.clean and snap feature...

Hamish hamish_nospam at yahoo.com
Sun Mar 26 23:41:13 EST 2006


> > > I have got a vactor line layer with a lot of line splitted; in
> > > v.digit they  look like this (x is red):
> > >
> > > -------x        x---------
> > > ------------------------
> > >
> > > If i use the v.clean command with snap feature, the vertex are
> > > being snapped  on the near line and not each other.
> > > Is there a way to issue snap only between nearest vertex?
> >
> > v.extract only the broken bits, then v.clean, v.patch?
>
> How use v.extract with only the broken bits?

figure out what cat numbers are for full lines and extract everything
but.

another way would be to use 'v.to.db option=length' to add a data column
with line length for each segment, then extract everything shorter than
some length with a SQL query (v.extract where="length < 100").


Hamish




More information about the grass-user mailing list