1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-12 00:02:25 -04:00

31 lines
560 B
ReStructuredText

POLYGON CENTROIDS
=================
Description
-----------
This algorithm calculates the centroids of a polygons layer.
Parameters
----------
- ``Polygons[Vector]``: polygons layer
- ``Centroids for each part[Boolean]``: YES if you want to calculate centroids for each part of the layer, NO if you want
to calculate centroids only for the single features
Outputs
-------
- ``Centroids[Vector]``: the resulting points layer
See also
---------
Console usage
-------------
::
processing.runalg('saga:polygoncentroids', polygons, method, centroids)