My first query on here. I'm using QGIS. I've created a gridded map by counting points in each grid:grid map

This was generated by counting the number of observation points per grid(polygon). The attribute table in the observation (polygon) layer looks like this: attribute table of point layer But I now wish to create a similar gridded map, but instead of just counting the number of points within each grid, I wish to count the contribution of each author_id within each grid and add a column which shows the highest contributor within each grid.

Is this doable?

  • Welcome to gis.stackexchange! Please note that a good question on this site is expected to show some degree of research on your part, i.e. what you have tried and - if applicable - code so far. For more info, you can check our faq. – underdark Nov 23 '17 at 17:52
  • Welcome to GIS SE. As a new user, please take the Tour. Unfortunately, the answer to nearly every "Is this possible?" question is "Yes", so you'll get a better answer if you actually try to solve the problem, and ask for help if you run into a problem. – Vince Nov 23 '17 at 17:53

Yes. Instead of using the "Count points in polygon" tool just use the "Join attributes by location" tool.

Found from Vector> Data Management Tools> Join attributes by location

In the option, be sure to set "Attribute summary" to: "Take summary of intersecting features"

If you only want max, you can set "Statistics for summary" to: max

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.