[GRASS-user] Table of polygons bordering each one

Markus Neteler neteler at osgeo.org
Sat Feb 15 05:35:20 PST 2014


On Sun, Feb 9, 2014 at 8:13 PM, David Montoya <jdmonto0 at gmail.com> wrote:

> Hi, I have a question. I need to generate a table that says which polygons
> bordering to each one, for example:
>
>                 ID1                ID2  1 3  1 2  2 1  2 4  3 1  3 4  3 5
> 4 2  4 3  4 6  5 3  5 6  6 4  6 5
> In this case the polygon 1 borders with the polygons 3 and 2, and so on.
> How can I do that in Grass?
>
>
The module v.to.db offers a "sides" option, perhaps that's useful here.

For an (un)related example, see
http://grasswiki.osgeo.org/wiki/Vector_length_of_common_boundaries

Rather the length you could then just retrieve the IDs.

Hope this points you into the right direction,

Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140215/6f1c4277/attachment.html>


More information about the grass-user mailing list