Count points in polygon — Tool (QGIS)

In QGIS: Processing Toolbox › Vector analysis › Count points in polygon (native:countpointsinpolygon); menu: Vector › Analysis Tools › Count Points in Polygon.

Realises:

Settings that matter

  • Weight field: the field is summed instead of counting points.
  • Class field: counts the number of different values in each polygon, not how many points have each value.
  • Count field name: the name of the new field.

Watch out

Checked in QGIS 4.2.2, October 2026. Names and options can differ in other versions.