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

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?
It should be fairly easy to do.

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?

On Thu, Aug 22, 2002 at 10:21:58AM +0200, Monika Schunke wrote:

I cannot find any tool to merge vectorlines. Does not GRASS have any
tools for that?

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?
It should be fairly easy to do.

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.

Markus

On Thu, Aug 22, 2002 at 10:21:58AM +0200, Monika Schunke wrote:
> I cannot find any tool to merge vectorlines. Does not GRASS have any
> tools for that?

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?
> It should be fairly easy to do.
>
> 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?

Silke

--
Silke Reimer

Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/

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

Radim,
thanks for the answers.

On Mon, Aug 26, 2002 at 10:41:46AM +0200, Radim Blazek wrote:

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).

> Any suggestions? Or perhaps any reason why it isn't sensible to do
> so?

v.build.polylines