Dear Users,
I'm working with vector with about 300 point.
I would want to group and classify spatially the points in groups of 4 so as
to characterize for every group the 4 more neighbors between they.
For example in my case, I wont 75 (300/4) group of points more close
spatially between them.
Has anyone encoutered the same problem??
I hope to be sufficiently clear...
Thanks
Pierluigi
--
Pierluigi De Rosa
Department of Enviromental & Civil engineering
Faculty of Engineering
Perugia (Italy)
Hi Pierluigi!
Don't know if my approach would be good, but I'd follow this way..
1) Add a new column called "group" in the 300 points layer;
2) Create a vector layer extracting only 1 point and assign the number of
group you want;
3) With v.distance, found the distance between each points of the original
layer (with some threshold you could speed up the process..) and this point,
and upload it to the attribute table.
4) Select only the 3 elements with low value of distance, extract them, add a
and v.patch with the point in section 2.
5) Repeat extracting the second point..
6) Merge all the layer from section 4.
Let me know if it works...
Bye
Luca
Alle 15:51, lunedì 03 luglio 2006, Pierluigi De Rosa ha scritto:
Dear Users,
I'm working with vector with about 300 point.
I would want to group and classify spatially the points in groups of 4 so
as to characterize for every group the 4 more neighbors between they. For
example in my case, I wont 75 (300/4) group of points more close spatially
between them.
--
"L'ambizione è l'ultimo rifugio del fallito (Oscar Wilde)"
GENTOO-GIS Development Team
jabber: casagrande@jabber.linux.it