mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-06 00:05:02 -05:00
37 lines
567 B
ReStructuredText
37 lines
567 B
ReStructuredText
|
RANDOM SELECTION WITHIN SUBSETS
|
||
|
===============================
|
||
|
|
||
|
Description
|
||
|
-----------
|
||
|
|
||
|
Parameters
|
||
|
----------
|
||
|
|
||
|
- ``Input layer[Vector]``:
|
||
|
- ``ID Field[TableField]``:
|
||
|
- ``Method[Selection]``:
|
||
|
- ``Number/percentage of selected features[Number]``:
|
||
|
|
||
|
Outputs
|
||
|
-------
|
||
|
|
||
|
- ``Selection[Vector]``:
|
||
|
|
||
|
See also
|
||
|
---------
|
||
|
|
||
|
|
||
|
Console usage
|
||
|
-------------
|
||
|
|
||
|
|
||
|
::
|
||
|
|
||
|
processing.runalg('qgis:randomselectionwithinsubsets', input, field, method, number)
|
||
|
|
||
|
Available options for selection parameters:
|
||
|
|
||
|
method(Method)
|
||
|
0 - Number of selected features
|
||
|
1 - Percentage of selected features
|