I am looking for a functionality in QGIS to find all neigbours for each polygon in a polygon layer. The result should be a table with 2 ID-Columns: one for the polygon and the second for the neighbours.
I tried "spatial query" in QGIS with the layer as source and its copy as reference, but to no avail.
In Mapbasic of Mapinfo it would be a simple expression:
select t1.id1, t2.id2 from t1, t2 where t1.obj intersects t2.obj
(where t1 and t2 are two copies of the polygon layer).
Thanks for any help!