` `
Counts the number of points present in each feature of a polygon layer.
The name of the attribute table column containing the points number.
Default: NUMPOINTS
processing.runalg('qgis:countpointsinpolygon', polygons, points, field, output)
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)
Counts the number of unique values of a points in a polygons layer. Creates a new polygons layer with an extra column in the attribute table containing the count of unique values for each feature.
Column name containing the count of unique values in the resulting polygons layer.
Default: NUMPOINTS
processing.runalg('qgis:countuniquepointsinpolygon', polygons, points, classfield, field, output)
<put algorithm description here>
<put parameter description here>
Options:
Default: 0
<put parameter description here>
Default: 0
processing.runalg('qgis:distancematrix', input_layer, input_field, target_layer, target_field, matrix_type, nearest_points, distance_matrix)
<put algorithm description here>
<put parameter description here>
Options:
Default: 0
<put parameter description here>
Options:
Default: 0
processing.runalg('qgis:distancetonearesthub', points, hubs, field, geometry, unit, output)
<put algorithm description here>
processing.runalg('qgis:generatepointspixelcentroidsalongline', input_raster, input_vector, output_layer)
<put algorithm description here>
processing.runalg('qgis:generatepointspixelcentroidsinsidepolygons', input_raster, input_vector, output_layer)
Creates hub and spoke diagrams with lines drawn from points on the Spoke Point layer to matching points in the Hub Point layer. Determination of which hub goes with each point is based on a match between the Hub ID field on the hub points and the Spoke ID field on the spoke points.
sonuç katmanı.
processing.runalg('qgis:hublines', hubs, hub_field, spokes, spoke_field, output)
Calculates the mean of the coordinates of a layer starting from a field of the attribute table.
Optional.
Field to use if you want to perform a weighted mean.
Optional.
Unique field on which the calculation of the mean will be made.
processing.runalg('qgis:meancoordinates', points, weight, uid, output)
<put algorithm description here>
processing.runalg('qgis:nearestneighbouranalysis', points, output)
<put algorithm description here>
<put parameter description here>
Default: LENGTH
<put parameter description here>
Default: COUNT
processing.runalg('qgis:sumlinelengths', lines, polygons, len_field, count_field, output)