I have two polygon shapefiles, each of which contain multiple (possibly overlapping) polygons.
Is there some way, using GRASS, to calculate the number of polygons belonging to shapefile A that fall within each of the polygons that exist in shapefile B? Preferable would be a method that doesn't require rasterization, but I'm open to going down that route if necessary.
(I'm aware that this can be done in R, using the
over() function, but these are large files I'm referring to, and so I'd prefer to do it in GRASS.)