[GRASS-user] v.build.polylines

Is anyone aware of a way to get the results of v.build.polylines but keep the attributes and only merge adjacent lines that have the same attributes?

Meaning if one has three lines, where two of them have identical attribute values, and one does not, that the two with identical attributes would be merged (node removed), and keep the node (and separate line) for the line that does not have the same attributes?

Basically I’d like to merge adjacent lines that only have similar attribute values.

Mark

M S wrote:

Is anyone aware of a way to get the results of v.build.polylines but keep
the attributes and only merge adjacent lines that have the same
attributes?

Meaning if one has three lines, where two of them have identical attribute
values, and one does not, that the two with identical attributes would be
merged (node removed), and keep the node (and separate line) for the line
that does not have the same attributes?

Basically I'd like to merge adjacent lines that only have similar
attribute
values.

Mark

v.build.polylines operates globally. For selective editing, use v.edit
(GRASS 6.3-CVS).
There are the "connect" and the "merge" tool which should exactly do what
you
need (in combination with SQL where statement).

Markus

--
View this message in context: http://www.nabble.com/v.build.polylines-tf4150762.html#a11808918
Sent from the Grass - Users mailing list archive at Nabble.com.

Markus Neteler wrote:

M S wrote:
  

Is anyone aware of a way to get the results of v.build.polylines but keep
the attributes and only merge adjacent lines that have the same
attributes?

Meaning if one has three lines, where two of them have identical attribute
values, and one does not, that the two with identical attributes would be
merged (node removed), and keep the node (and separate line) for the line
that does not have the same attributes?

Basically I'd like to merge adjacent lines that only have similar
attribute
values.

Mark

v.build.polylines operates globally. For selective editing, use v.edit
(GRASS 6.3-CVS).
There are the "connect" and the "merge" tool which should exactly do what
you
need (in combination with SQL where statement).

Markus

but unfortunatly 'merge' do not work....

Jarek Jasiewicz wrote:

Markus Neteler wrote:

M S wrote:
  

Is anyone aware of a way to get the results of v.build.polylines but
keep
the attributes and only merge adjacent lines that have the same
attributes?

Meaning if one has three lines, where two of them have identical
attribute
values, and one does not, that the two with identical attributes would
be
merged (node removed), and keep the node (and separate line) for the
line
that does not have the same attributes?

Basically I'd like to merge adjacent lines that only have similar
attribute
values.

Mark

v.build.polylines operates globally. For selective editing, use v.edit
(GRASS 6.3-CVS).
There are the "connect" and the "merge" tool which should exactly do what
you
need (in combination with SQL where statement).

Markus

but unfortunatly 'merge' do not work....

It does (for me), I just used it. Please be more specific.

Markus
--
View this message in context: http://www.nabble.com/v.build.polylines-tf4150762.html#a11810212
Sent from the Grass - Users mailing list archive at Nabble.com.

It does (for me), I just used it. Please be more specific.

Markus

Hi!

I have the same problem: need to merge every adjacent lines with a specific
equal attribute, and need to add some others atributes when the lines are
merged. I tried to solve using the v.edit module and have concluded that the
simple use of this module cannot solve the problem. If I'm wrong, how should
be the WHERE clausle? I believe that the only way out is to build a script
involving several steps...

Alexandre
--
View this message in context: http://www.nabble.com/v.build.polylines-tp11807899p19554205.html
Sent from the Grass - Users mailing list archive at Nabble.com.