User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_aggregatornames

ITGIS_AggregatorNames interface

DK for ActiveX | TatukGIS_XDK11.ITGIS_AggregatorNames | Interfaces | Methods | Properties

Represents a collection of dynamic aggregator names. This class provides a list of names to be used with TGIS_DynamicAggregatorFactory.CreateInstance method.

Available also on: Delphi | .NET | Java | ActiveX | Python.

Syntax

// C#
public interface ITGIS_AggregatorNames: ITBaseObject
{
}
' VisualBasic
Public Interface ITGIS_AggregatorNames
  Implements ITBaseObject
End Class
// Oxygene
type
  ITGIS_AggregatorNames = public interface( ITBaseObject )
  end;

Implements

Methods

Inherited Overrides Protected
Name Visibility Description
AttachDelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
DelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)

Properties

Inherited Protected
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.

Example

// 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

2025/03/12 17:30

Page Tools