DK for Delphi | GisAggregator.TGIS_AggregatorClusteringHexagonalGridPointy | Classes | Constructors | Fields | Methods | Properties
This class implements the clustering method using a pointy-topped hexagonal grid.
// Delphi type TGIS_AggregatorClusteringHexagonalGridPointy = class( TGIS_AggregatorClusteringHexagonalGridAbstract ) end;
// C++ Builder class PASCALIMPLEMENTATION TGIS_AggregatorClusteringHexagonalGridPointy : public TGIS_AggregatorClusteringHexagonalGridAbstract { };
→ TGIS_BaseObjectDisposable → TGIS_DynamicAggregatorAbstract → TGIS_AggregatorAbstract → TGIS_AggregatorClusteringAbstract → TGIS_AggregatorClusteringHexagonalGridAbstract
| Name | Visibility | Description | |
|---|---|---|---|
| Create | public | Initialize aggregator instance for specified layer. (Overrides TGIS_AggregatorClusteringHexagonalGridAbstract.Create) |
|
| Name | Visibility | Description | |
|---|---|---|---|
| useConfig | protected | If true then initialization of visual appearance is blocked because it is going to be read from a project/config file. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
| Name | Visibility | Description | |
|---|---|---|---|
| AddShape(TGIS_Shape; TObject) | public | Add aggregated shape with optional attribute context. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
| AddShape(TGIS_Shape; Variant; TGIS_UidArray) | public | Add aggregated shape with metric value and source UIDs. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
| applyConfigOptions | protected | Load aggregator configuration from config file. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
| Copy | public | Create independent copy of aggregator with optional new layer binding. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
| HideShape | public | Mark shape as hidden during aggregation cycle. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
| Prepare | public | Generate aggregated shapes for visible extent. (Inherited from TGIS_AggregatorAbstract) |
|
| SetUp | public | Initialize aggregator state. (Inherited from TGIS_AggregatorAbstract) |
|
| storeConfigOptions | protected | Save aggregator configuration to config file. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
| useShapeType | protected | Declare shape type produced by aggregator. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
| Name | Visibility | Description | |
|---|---|---|---|
| Caption | public | User-friendly display name for aggregator (translated). (Inherited from TGIS_DynamicAggregatorAbstract) |
|
| IsPreparing | public | True if aggregator is currently executing Prepare() method. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
| Layer | public | Reference to parent layer hosting aggregator. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
| Name | public | Unique internal identifier for aggregator type. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
| Radius | public | Spatial radius for aggregation clustering. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
| RadiusAsText | public | Human-readable representation of Radius property with units. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
| Threshold | public | Minimum number of shapes required to form a single aggregated result. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
| | |
| ClusteringSquareGrid | ClusteringHexagonalGridFlat | ClusteringHexagonalGridPointy |
Aggregation is available through the Layer Properties Control and is stored to the project file.
The recommended way to construct an aggregator is use TGIS_DynamicAggregatorFactory. It is also possible to directly assign an instance of a class that inherits from TGIS_AggregatorAbstract.
Please note that TGIS_LayerVector.DynamicAggregator owns an object, therefore the aggregator should not be freed directly.
// attach aggregator layer.DynamicAggregator := TGIS_DynamicAggregatorFactory.CreateInstance( 'ClusteringHexagonalGridPointy', layer ) ; // detach aggregator layer.DynamicAggregator := nil ;
// attach aggregator layer->DynamicAggregator = TGIS_DynamicAggregatorFactory::CreateInstance( "ClusteringHexagonalGridPointy", layer ) ; // deatch aggregator layer->DynamicAggregator = NULL ;