[GRASS5] Re: [GRASSLIST:4357] merge of lines

Radim Blazek blazek at itc.it
Mon Aug 26 04:41:46 EDT 2002


On Thursday 22 August 2002 03:49 pm, Silke Reimer wrote:
> On Thu, Aug 22, 2002 at 01:17:22PM +0200, Markus Neteler wrote:
> > On Thu, Aug 22, 2002 at 01:13:31PM +0200, Bernhard Reiter wrote:
> > > It seems that there is not option in v.digit -> edit
> > > to join two lines that share a node.
> > >
> > > Is there a reason for this in the data model?

No.

> > > It should be fairly easy to do.

You can do that (some check for different categories should be done).

> > >
> > > Like if I have two lines .= vertices X=node shared by both lines
> > >
> > > 	.----.----X--.--.
> > >
> > > to join the lines to
> > >
> > > 	.----.----.--.--.
> > >
> > > If I wanted to add this, what would I have to do?
> >
> > Here 'snapping' should help. Either v.support or v.digit,
> > select a very small threshold.
>
> We tried out to use either v.support or v.digit but snapping only
> snaps 2 nodes to 1 single node (or to 2 nodes at the same
> location).
> We would rather like to convert a node, shared by 2 lines, to a
> vertex
> of a single line (like Bernhard tried to demonstrate).
>
> Any suggestions? Or perhaps any reason why it isn't sensible to do
> so?

v.build.polylines

Radim




More information about the grass-dev mailing list