Create classification dataset (from JSON file)

Create a classification dataset from a JSON file and store the result as a pickle file. Example file (classifier.pkl.json) can be found in the EnMAP-Box testdata folder).

Usage:

  1. Open the algorithm from the processing toolbox.

  2. Select a JSON-file, then click run.

    ../../../../_images/classjson.png
  3. The output classification dataset will be listed under Models in your Data Sources panel.

Parameters

JSON file [file]

JSON file containing all information.

Outputs

Output dataset [fileDestination]

Pickle file destination.

Command-line usage

>qgis_process help enmapbox:CreateClassificationDatasetFromJsonFile:

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

jsonFile: JSON file
    Argument type:  file
    Acceptable values:
            - Path to a file
outputClassificationDataset: Output dataset
    Argument type:  fileDestination
    Acceptable values:
            - Path for new file

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

outputClassificationDataset: <outputFile>
    Output dataset