` `
Creates new vector layer that only contains certain features from an input layer. The criteria for adding features to the resulting layer is defined based on the values of an attribute from the input layer.
<put parameter description here>
Options:
Default: 0
<put parameter description here>
Default: (not set)
processing.runalg('qgis:extractbyattribute', input, field, operator, value, output)
Creates new vector layer that only contains certain features from an input layer. The criteria for adding features to the resulting layer is defined based on the spatial relationship between each feature and the features in an additional layer.
Condition for the selection. Array of one or more of the following predicates:
For console usage the predicates must be defined as an array of Unicode strings, eg. [u’intersects’,u’contains’]
processing.runalg('qgis:extractbylocation', input, intersect, predicates, precision, output)
Takes a vector layer and generates a new one that contains only a subset of the features in the input layer. The subset is defined randomly, using a percentage or count value to define the total number of features in the subset.
<put parameter description here>
Options:
Default: 0
<put parameter description here>
Default: 10
processing.runalg('qgis:randomextract', input, method, number, output)
Takes a vector layer and generates a new one that contains only a subset of the features in the input layer. The subset is defined randomly, using a percentage or count value to define the total number of features in the subset. The percentage/count value is not applied to the whole layer, but instead to each category. Categories are defined according to a given attribute, which is also specified as an input parameter for the algorithm.
<put parameter description here>
Options:
Default: 0
<put parameter description here>
Default: 10
processing.runalg('qgis:randomextractwithinsubsets', input, field, method, number, output)
Takes a vector layer and selects a subset of its features. No new layer is generated by this algorithm. The subset is defined randomly, using a percentage or count value to define the total number of features in the subset.
<put parameter description here>
Options:
Default: 0
<put parameter description here>
Default: 10
Same vector input layer with selected features
processing.runalg('qgis:randomselection', input, method, number)
Takes a vector layer and selects a subset of its features. No new layer is generated by this algorithm. The subset is defined randomly, using a percentage or count value to define the total number of features in the subset. The percentage/count value is not applied to the whole layer, but instead to each category. Categories are defined according to a given attribute, which is also specified as an input parameter for the algorithm.
<put parameter description here>
Options:
Default: 0
<put parameter description here>
Default: 10
Same vector input layer with selected features
processing.runalg('qgis:randomselectionwithinsubsets', input, field, method, number)
Removes any features which do not have a geometry from a vector layer. All other features will be copied unchanged.
processing.runalg('qgis:removenullgeometries', input, output)
Creates a selection in a vector layer. The criteria for selected features is defined based on the values of an attribute from the input layer.
İşlenecek katman.
Comparison operator.
Options:
Default: 0
Value to compare.
Default: (not set)
Same vector input layer with selected features
processing.runalg('qgis:selectbyattribute', input, field, operator, value)
<put algorithm description here>
Value to compare.
Default: 0
processing.runalg('qgis:selectbyattributesum', input, field, value)
Creates a selection in a vector layer. The criteria for selecting features is based on a QGIS expression.
<put parameter description here>
Default: (not set)
<put parameter description here>
Options:
Default: 0
Same vector input layer with selected features
processing.runalg('qgis:selectbyexpression', layername, expression, method)
Creates a selection in a vector layer. The criteria for selecting features is based on the spatial relationship between each feature and the features in an additional layer.
Condition for the selection. Array of one or more of the following predicates:
For console usage the predicates must be defined as an array of Unicode strings, eg. [u’intersects’,u’contains’]
<put parameter description here>
Options:
Default: 0
Same vector input layer with selected features
processing.runalg('qgis:selectbylocation', input, intersect, predicate, precision, method)