User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_classificationabstract.classify_void

Table of Contents

ITGIS_ClassificationAbstract.Classify method

DK for ActiveX | TatukGIS_XDK11.ITGIS_ClassificationAbstract.Classify | Methods | Properties

Performs classification using the assigned layer ParamsList.

Available also on: Delphi | .NET | Java | Python.

Syntax

// C#
public WordBool Classify();
' VisualBasic
Public Function Classify() As WordBool
// Oxygene
public
  function Classify : WordBool;

Result

Type Description
WordBool True if classification is successful; otherwise False.

Remarks

USAGE: Create a classifier for the layer, configure the target data and visual settings, then apply the classification.

classifier = TGIS_ClassificationFactory.CreateClassifier(layer)       classifier.Target = "Population"       classifier.NumClasses = 5       classifier.ColorRamp =         TGIS_Utils.GisColorRampList.ByName(Bathymetry2)       classifier.Classify()       layer.Params.Pixel.ShowLegend = True
Layer's ParamsList will be cleaned, so user style sections will be erased.

References

2026/09/20 23:44

Page Tools