I am using QGIS 3.1. I am wondering if there is a way to count points in polygons but by using both the weight and class.
For example, I have distributions of a number of species, each with a unique 'score'. I want to count each occurrence of a unique species (class - species), then weight each occurrence by its score (weight - score) in a grid.
Doing each of these is very simple using the count points in polygon feature but I can't do both at once.
GROUP BY g.id, p.class, therefore each unique point class will be distinguished within a unique polygon – Taras Jun 22 '20 at 11:49from grid_layer g join points p==>from my_grid_layer g join my_point_layer p. If you have a different goal, feel free to ask a new question with enough details! – JGH Jun 22 '20 at 12:08