Hello, FYI: I just added to the grass7 vector addons svn a small and simple module that calculates the adjacency (nieghborhood) matrix of polygons in a vector map and outputs it either into a file or to stdout. I hope it comes in handy to some. Moritz