R: [GRASS-user] Connecting vector points with the same category number
Aldo Clerici
aldo.clerici at unipr.it
Wed Jun 16 06:58:10 EDT 2010
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 at yahoo.com]
Inviato: martedì 15 giugno 2010 12.40
A: grass-user at 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
More information about the grass-user
mailing list