I am using QGIS. I would like to know the number of 10x10 grids that intersect with each polygon of my layer.
Layer 1: This layer contains a list of species. Species A, Species B, etc. Each species has its own polygon or multiple polygons within the layer depicting its geographic distribution across the globe.
Layer 2: I have a second layer, a grid of 10x10 cells that I created using: Vector-> Research Tools-> Vector Grid.
I want to know the number of grids (Layer 2) that intersects with each species polygon(s) (Layer 1). I know that if Layer 1 had only one species, then I could use Vector->Data Management Tootls-> Join Attributes By Location.
However, I do not know how to loop through Layer 1 so that it does this for each species.
This linklink seems to be asking for something similar, but the solution uses ArcGIS, and I am using QGIS.