Counts the number of points in each feature of a polygon layer and calculates the mean of the selected field for each feature of the polygon layer. These values will be added to the attribute table of the resulting polygon layer.
Name of the column for the new weighted field.
Default: NUMPOINTS
processing.runalg('qgis:countpointsinpolygonweighted', polygons, points, weight, field, output)