mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-06 00:05:02 -05:00
34 lines
618 B
ReStructuredText
34 lines
618 B
ReStructuredText
MEAN COORDINATE(S)
|
|
==================
|
|
|
|
Description
|
|
-----------
|
|
This algorithm calculates the mean of the coordinates of a layer starting from a field of the attribute table.
|
|
|
|
Parameters
|
|
----------
|
|
|
|
- ``Input layer[Vector]``: input layer
|
|
- ``Weight field[TableField]``: field to add if you want to perform a weighted mean
|
|
- ``Unique ID field[TableField]``: unique field on which the calculation of the mean will be made
|
|
|
|
|
|
Outputs
|
|
-------
|
|
|
|
- ``Result[Vector]``: the resulting points layer
|
|
|
|
|
|
|
|
See also
|
|
---------
|
|
|
|
|
|
Console usage
|
|
-------------
|
|
|
|
|
|
::
|
|
|
|
processing.runalg('qgis:meancoordinates', points, weight, uid, output)
|