I have generated a grid layer from a vector layer in QGIS, and merged the point attribute into the grid layer by "joint by location".
I now need to:
- calculate the average of some attributes for each of the nine adjacent grids (nine grids forming a square) (Figure 1)
- return this value to the middle grid
- need to do this for each grid in the grid layer
What should I do? I've been working on this for a long time but I can't figure it out.