1

I have a raster and a vector point file. I need to generate another raster of same resolution showing how many points are inside the corresponding pixels of the original raster.

Something like that:

Is there a way of doing that in QGIS?

I just want the number of points, no attributes involved.

mgri
  • 16,159
  • 6
  • 47
  • 80

1 Answers1

1

I am not sure how to do it in QGIS, but it is quite straightforward with GRASS using the tool r.in.xyz with method=n

Have a look at this QA: https://grasswiki.osgeo.org/wiki/Count_points_in_raster_cells

Marco
  • 3,230
  • 14
  • 37