2014-06-08 19:58:25 +02:00
|
|
|
COUNT UNIQUE POINTS IN POLYGON
|
|
|
|
==============================
|
|
|
|
|
|
|
|
Description
|
|
|
|
-----------
|
2014-06-13 09:04:44 +02:00
|
|
|
This algorithm counts the number of unique values of a points layer in a polygons one. The algorithm creates a new polygons
|
2014-06-08 19:58:25 +02:00
|
|
|
layer with an extra column in the attribute table containing the count of unique values for each feature.
|
|
|
|
|
|
|
|
Parameters
|
|
|
|
----------
|
|
|
|
|
|
|
|
- ``Polygons[Vector]``: polygons layer in input
|
|
|
|
- ``Points[Vector]``: points layer in input
|
2014-06-13 09:04:44 +02:00
|
|
|
- ``Class field[TableField]``: points layer column name of the unique value chosen
|
|
|
|
- ``Count field name[String]``: column name containing the count of unique values in the resulting polygons layer
|
2014-06-08 19:58:25 +02:00
|
|
|
|
|
|
|
Outputs
|
|
|
|
-------
|
|
|
|
|
|
|
|
- ``Result[Vector]``: the resulting polygons layer
|
|
|
|
|
|
|
|
See also
|
|
|
|
---------
|
|
|
|
|
|
|
|
|
|
|
|
Console usage
|
|
|
|
-------------
|
|
|
|
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
processing.runalg('qgis:countuniquepointsinpolygon', polygons, points, classfield, field, output)
|