Classification


The Classification  can be applied in both vector and raster data. The basic principle of this type of classification is grouping the data following the logic of some selected method.

It is accessible through:

    Layer Explorer >  Right Click over a Layer-name > Classification...

   Layer > Classification...

The interface shows specific parameters depending on the data type chosen, 
Vector Classification or  Raster  Classification.

Vector Classification

The available methods in TerraLib are: The parameters necessary to execute the Classification are grouped in frames at the interface.  See the details bellow.

Frame 1 - Import Layer Grouping - Check this box to eventually use the parameters used in other layer
  1. Layer - select the layer from where to import the parameters of classification. It might not be possible to import any of them.
  2. Press Import

Frame 2 - Classification Parameters 
  1. Type - Select the method of classification (unique value, equal steps, quantil).
  2. Attribute - Select the attribute to be used  in the classification. The attributes listed may vary depending on selected method of classification.
  3. A summary function may be chosen if the classification is being generated based on a linked dataset, otherwise this function is not visible.
  4. Slices - Set the number of slices to be created in the classification.
  5. Precision - Sets the precision value.
  6. Standard Deviation -   
  7. Color  Bar - Set the color ramp as explained here.
      1. Catalog - ??
      2. Group -  ??
      3. Schema - ??
  8. Press Apply to show the Classification frame with the slices identified by Symbol, Title, Value, Count
  9. Press OK to generate the Classification by Grouping with these parameters or change the parameters and apply again.
The result of classification by region over Brazil states, using Unique Value type, is showed bellow.
      


Raster Classification

The available methods in TerraLib are:
The parameters necessary to execute the Classification are grouped in frames at the interface.  See the details bellow.

Frame 1 - Import Layer Grouping - Check this box to eventually choose the same parameters used in other layer
  1. Layer - select the layer from where to import the parameters of classification. It might not be possible to import any of them.
  2. Press Import.

Frame 2 - Classification Parameters
  1. Band - Select which band will be classified.
  2. Minimum Value - Set the minimum value (the suggested value is get from the selected band).
  3. Maximum Value -  Set the maximum value  (the suggested value is get from the selected band).
  4. Transformation - Select the method for classification (categorize or interpolation).
  5. Slices - Set the number of slices to be created in the classification.
  6. Type - Defines how data is classified.
  7. Color  Bar - Set the color ramp as explained here. ??
      1. Catalog - ??
      2. Group -  ??
      3. Schema - ??
  8. Press Apply to show the Color Map with the slices identified by Value, Color and Label
  9. Press OK to generate the Classification with these parameters or change the parameters and apply again.
The figures bellow show a original image in color composition, band-0 and the results of classification.

RGB-012                                                       BAND-0
     


The result of Classification using Categorize method with default parameters and 6 slices.



The result of Classification using Interpolation method with default parameters and 6 slices.