Documentation | Samples | Classification
How to provide classification feature.
This sample illustrates use of:
Name | Description |
---|---|
TGIS_ClassificationAbstract.Target | Indicates the data to be used for classification; empty by default. |
TGIS_ClassificationAbstract.NumClasses | Number of classes; default is 5, max is 30. |
TGIS_ClassificationAbstract.StartColor | Starting color used to generate ramp for class breaks; White by default. |
TGIS_ClassificationAbstract.EndColor | Ending color used to generate ramp for class breaks; Black by default. |
TGIS_ClassificationAbstract.ShowLegend | If True, features will be shown in legend panel; True by default. |
TGIS_ClassificationAbstract.Method | Classification method; NaturalBreaks by default. |
TGIS_ClassificationAbstract.Interval | Class interval size; default value is 1. |
TGIS_ClassificationAbstract.Classify | Performs the classification. |
TGIS_ClassificationAbstract.MustCalculateStatistics | If True, statistics from layer assigned to classification need to be calculated. |
TGIS_ClassificationVector.StartSize | Starting size or width for generating Params section; default value is 1. |
TGIS_ClassificationVector.EndSize | Ending size or width for generating Params section; default value is 480. |
TGIS_ClassificationVector.ClassIdField | If not empty, the attribute field of the specified name will be populated with the class id values. |
TGIS_ClassificationVector.RenderType | Visual property which will be affected during classification; Color by default. |
This sample is available on following platforms (click to see source code):