mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-09 00:35:20 -05:00
36 lines
489 B
ReStructuredText
36 lines
489 B
ReStructuredText
|
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
|