QGIS/python/plugins/processing/algs/qgis/help/randomselection.rst

36 lines
489 B
ReStructuredText
Raw Normal View History

RANDOM SELECTION
================
Description
-----------
Parameters
----------
- ``Input layer[Vector]``:
- ``Method[Selection]``:
- ``Number/percentage of selected features[Number]``:
Outputs
-------
- ``Selection[Vector]``:
See also
---------
Console usage
-------------
::
processing.runalg('qgis:randomselection', input, method, number)
Available options for selection parameters:
method(Method)
0 - Number of selected features
1 - Percentage of selected features