I have a large dataset (shapefile) in which one variable is binary. I want to be able to find the fraction of 1 for all the points, but within a given raster grid cell, see below.
Yes, as you can see the numbers are not gonna be high (lots of
0), but still interesting to plot later on in my project.
How can I calculate the fraction of 1 within each raster grid cell? Hence, I need per grid cell.
The goal is to get it as a raster again file again.
I have not been able to figure it out on my own, side note I prefer to work in Qgis.