I have a list of 34 shapefiles. These shapefiles are range maps for different species. I would like to take 4 of these shapefiles and document a list of those shapefiles (within the 30 shapefiles), whose ranges overlap with these 4 shapefiles. I wouldn't mind comparing them one at a time ie. Shapefile 1 with the other 30 shapefiles; Shapefile2 with the other 30 shapefile..
Is there a way to do this in QGIS/PyQGIS?
I tried using the Intersect tool, but that would only give me the features that are common to both the files chosen.
I basically need a table that gives me : shapefile1 and all the names of the shapefiles that overlap with shapefile1
EDIT: Following @xunik's suggestion:
ISSUE I am having right now is that the script is not picking up every possible combination(even if they are slightly touching each other). Attached is an image that shows the script being written to a csv file.
EDIT 2
The script suggested by @xunilk below is not working and is actually showing incorrect information. Any suggestions?
See Image below. The output is showing that these two features intersect, when in reality, they dont. Please Help!