Predict classification layerΒΆ

Uses a fitted classifier to predict a classification layer from a raster layer with features. Used in the Cookbook Recipes: Classification, Graphical Modeler for information on different parameters.

Parameters

Raster layer with features [raster]
A raster layer with bands used as features. Classifier features and raster bands are matched by name to allow for classifiers trained on a subset of the raster bands. If raster bands and classifier features are not matching by name, but overall number of bands and features do match, raster bands are used in original order.
Classifier [file]
A fitted classifier.

Outputs

Output classification layer [rasterDestination]
Raster file destination.

Command-line usage

>qgis_process help enmapbox:PredictClassificationLayer:

----------------
Arguments
----------------

raster: Raster layer with features
    Argument type:  raster
    Acceptable values:
            - Path to a raster layer
classifier: Classifier
    Argument type:  file
    Acceptable values:
            - Path to a file
outputClassification: Output classification layer
    Argument type:  rasterDestination
    Acceptable values:
            - Path for new raster layer

----------------
Outputs
----------------

outputClassification: <outputRaster>
    Output classification layer