User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_aggregatornames

Table of Contents

TGIS_AggregatorNames class

DK for Java | tatukgis.jdk.TGIS_AggregatorNames | Classes | 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 | ActiveX | Python.

Syntax

// Java
public final class TGIS_AggregatorNames implements java.lang.Cloneable {
};
// Oxygene
type
  TGIS_AggregatorNames = public record
  end;

Implements

java.lang.Cloneable

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:38

Page Tools