DK for Delphi | GisAggregator.TGIS_AggregatorNames | Records | Properties
Represents a collection of dynamic aggregator names. This class provides a list of names to be used with TGIS_DynamicAggregatorFactory.CreateInstance method.
// Delphi type TGIS_AggregatorNames = record end;
// C++ Builder struct DECLSPEC_DRECORD TGIS_AggregatorNames { };
| Name | Visibility | Description | |
|---|---|---|---|
| BinningHexagonFlat | public | Hexagonal binning method with flat-top hexagons. | |
| BinningHexagonPointy | public | Hexagonal binning method with pointy-top hexagons. | |
| BinningSquare | public | Square binning method Aggregates data points into a uniform grid of square bins. | |
| ClusteringHexagonalGridFlat | public | Clustering using a flat-top hexagonal grid. | |
| ClusteringHexagonalGridPointy | public | Clustering using a pointy-top hexagonal grid. | |
| ClusteringMovingAverage | public | Moving average clustering method. | |
| ClusteringSquareGrid | public | Clustering using a square grid. | |
| ShapeReduction | public | Dynamic point reduction method Dynamically reduces the number of displayed points on the map while preserving the overall spatial distribution and visual clarity. | |
// pseudocode // assuming that "layer_vector" is an instance of TGIS_LayerVector layer_vector: TGIS_LayerVector = gis.Get("cities") // attach Binning Square method and set parameters layer_vector.DynamicAggregator = TGIS_DynamicAggregatorFactory.CreateInstance( TGIS_AggregatorNames.BinningSquare, layer_vector) layer_vector.DynamicAggregator.RadiusAsText = "size:60px" layer_vector.DynamicAggregator.Threshold = 10 // use layer Params section to customize colors layer_vector.Params.Render.StartColor = TGIS_Color.Black layer_vector.Params.Render.EndColor = TGIS_Color.White // detach aggregator layer_vector.DynamicAggregator = None