Select features from dataset

Subset and/or reorder features in feature data X.


  1. Open the algorithm from the processing toolbox.

  2. Select a dataset and specify the features to be selected either by their name or position, then click run.



Dataset [file]

Dataset pickle file to select features from.

Selected features [string]

Comma separated list of feature names or positions. E.g. use <code>1, ‘Feature 2’, 3</code> to select the first three features.


Output dataset [fileDestination]

Pickle file destination.

Command-line usage

>qgis_process help enmapbox:SelectFeaturesFromDataset:


dataset: Dataset
    Argument type:  file
    Acceptable values:
            - Path to a file
featureList: Selected features
    Argument type:  string
    Acceptable values:
            - String value
            - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field
            - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression
outputDatasetFeatureSubset: Output dataset
    Argument type:  fileDestination
    Acceptable values:
            - Path for new file


outputDatasetFeatureSubset: <outputFile>
    Output dataset