Skip to main content
1 of 2
Spectron
  • 127
  • 1
  • 8

How can I calculate the number of points per raster pixel?

(I'm working with QGIS 3.14.16) I have a large dataset of points (in a shapefile) and a raster of my study area.

I want to calculate a new raster with the number of points in each cell. I've done a bit of research, and saw some posts that suggested using the GRASS function r.in.xyz .

However, I cannot find that function in my toolbox. Does anyone have any suggestion about how I could perform this calculation?

And, as an extra, does someone know why I don't have the r.in.xyz tool?

Spectron
  • 127
  • 1
  • 8