[GRASS-user] Connecting vector points with the same category number

Aldo wrote:

having a vector point map with many different category values, is
there a way to construct a vector map with lines connecting
the points with the same category number ?

at least part of this can be solved by v.distance output=:
   output Name for output vector map containing lines connecting nearest elements

Hamish

Hamish,
thanks for your quick reply.
If I have well understood the command usage, v.distance connects a point to
the closest one irrespective of the category, and can not solve my problem.
Actually I solved the problem transforming the point files to ascii files
with v.out.ascii, pasting them, transforming in a ASCII file containing
lines by gawk and importing with v.in.ascii. The resulting vector line is
perfect.
I posted the question because in GRASS there are very sophisticated modules
to solve complex network problems and tools to connect lines (as in v.edit)
and I thought very unlikely not to have a module to simply connect points.
Probably such a module or tool is not so simple as I suppose.

A. Clerici

-----Messaggio originale-----
Da: Hamish [mailto:hamish_b@yahoo.com]
Inviato: martedì 15 giugno 2010 12.40
A: grass-user@lists.osgeo.org; Aldo Clerici
Oggetto: Re: [GRASS-user] Connecting vector points with the same category
number

Aldo wrote:

having a vector point map with many different category values, is
there a way to construct a vector map with lines connecting
the points with the same category number ?

at least part of this can be solved by v.distance output=:
   output Name for output vector map containing lines connecting nearest
elements

Hamish