mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-08 00:02:35 -05:00
32 lines
624 B
ReStructuredText
32 lines
624 B
ReStructuredText
|
LIST UNIQUE VALUES
|
||
|
==================
|
||
|
|
||
|
Description
|
||
|
-----------
|
||
|
This algorithm counts the number of unique values of an attribute table field.
|
||
|
|
||
|
Parameters
|
||
|
----------
|
||
|
|
||
|
- ``Input layer[Vector]``: layer in input
|
||
|
- ``Target field[TableField]``: field of the attribute table with the unique values to count
|
||
|
|
||
|
Outputs
|
||
|
-------
|
||
|
|
||
|
- ``Unique values[HTML]``: resulting html file
|
||
|
- ``Total unique values[Number]``: number of the unique values found
|
||
|
- ``Unique values[String]``: list of each unique value
|
||
|
|
||
|
See also
|
||
|
---------
|
||
|
|
||
|
|
||
|
Console usage
|
||
|
-------------
|
||
|
|
||
|
|
||
|
::
|
||
|
|
||
|
processing.runalg('qgis:listuniquevalues', input_layer, field_name, output)
|