I am working in QGIS 3.10.4 trying to capture zonal stats for a polygon within a polygon. For example (picture below), two red lines make up a rectangular polygon that hold its blue circular polygons. Each blue polygon within its respective rectangle has an area calculation. I want to find the average area of the blue circular polygons in respect to its row. I initially tried zonal stats, but soon realized that zonal stats only work with a raster.
Any thoughts on how to do this?
$area
expression). Then run the tool with rectangles as input, blue polygons as join layer, select your area field under 'Fields to summarise' and mean under 'Summaries to calculate'.