User Tools

Site Tools


api:dk11:python:tatukgis_pdk.tgis_dynamicaggregatorabstract



TGIS_DynamicAggregatorAbstract class

Abstract base class for dynamic aggregation of vector-layer shapes during drawing, such as clustering or binning.

Syntax

# Python
class TGIS_DynamicAggregatorAbstract( Object ):

Inheritance

→ Object

Constructors

Inherited Overrides Protected
Name Visibility Description
__init__ public Create a dynamic aggregator bound to a vector layer.

Methods

Inherited Overrides Protected
Name Visibility Description
AddShape(TGIS_Shape, TObject) public Add an aggregated output shape with optional attribute context for the current aggregation cycle.
AddShape(TGIS_Shape, Variant, TGIS_UidArray) public Add an aggregated output shape together with an aggregate value and the source shape UIDs it represents.
Copy public Create a copy of the aggregator, optionally bound to another layer.
HideShape public Mark a source shape as hidden for the current aggregation cycle.
ParamsChanged public Update the aggregator after the sections of the layer were changed.
Prepare public Generate aggregated shapes for the visible extent using the current aggregation algorithm.
SetUp public Initialize aggregator state after assignment to the layer's DynamicAggregator property.

Properties

Inherited Protected
Name Visibility Description
Caption public User-friendly display caption for the aggregator.
IsPreparing public True while the temporary aggregation context is active.
Layer public Reference to the parent vector layer that hosts this aggregator.
Name public Unique internal identifier for the aggregator type.
Radius public Aggregation radius used to group nearby shapes into a single aggregated result.
RadiusAsText public Text representation of Radius.
Threshold public Minimum number of source shapes required by the aggregation algorithm.

2026/10/31 22:49

Page Tools