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. |
TGIS_ClassificationAbstract.NumClasses | Number of classes; default is 5, max is 30. |
TGIS_ClassificationAbstract.StartColor | Starting color used to generate ramp for class breaks. |
TGIS_ClassificationAbstract.EndColor | Ending color used to generate ramp for class breaks. |
TGIS_ClassificationAbstract.ShowLegend | If True, features will be shown in legend panel. |
TGIS_ClassificationAbstract.Method | Classification method; NaturalBreaks by default. |
TGIS_ClassificationAbstract.Interval | Class interval size; default 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 is white. |
TGIS_ClassificationVector.EndSize | Ending size or width for generating Params section; default is black. |
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. |
This sample is available on following platforms (click to see source code):