User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.tgis_aggregatorshapereduction

TGIS_AggregatorShapeReduction class

DK11 for ActiveX | TatukGIS_XDK11.TGIS_AggregatorShapeReduction | Classes | Methods | Properties

This class implements the aggregation method based on shape reduction. This method is designed to work with dense point data.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public class TGIS_AggregatorShapeReduction : ITGIS_AggregatorShapeReduction 
{
}
' VisualBasic
Public Class TGIS_AggregatorShapeReduction
  Implements ITGIS_AggregatorShapeReduction
End Class
// Oxygene
type
  TGIS_AggregatorShapeReduction = public class
  end;

Implements

Methods

Inherited Overrides Protected
Name Visibility Description
AddShape public Adds a new shape to be drawn
(Inherited from ITGIS_DynamicAggregatorAbstract)
AddShape_2 public Adds a new shape to be drawn
(Inherited from ITGIS_DynamicAggregatorAbstract)
AttachDelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
Create_ public Create a processor instance.
(Inherited from ITGIS_DynamicAggregatorAbstract)
DelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
HideShape public Hide a shape against being drawn.
(Inherited from ITGIS_DynamicAggregatorAbstract)
Prepare public Prepares dynamic shapes.
(Inherited from ITGIS_DynamicAggregatorAbstract)
SetUp public Perform internal aggregator setup.
(Inherited from ITGIS_DynamicAggregatorAbstract)

Properties

Inherited Protected
Name Visibility Description
Caption public User friendly name (translated).
(Inherited from ITGIS_DynamicAggregatorAbstract)
IsPreparing public True if aggregator is executing Prepare().
(Inherited from ITGIS_DynamicAggregatorAbstract)
Layer public Layer on which the processor is constructed.
(Inherited from ITGIS_DynamicAggregatorAbstract)
Name public Unique aggregator name.
(Inherited from ITGIS_DynamicAggregatorAbstract)
Radius public A radius within which shapes will be aggregated.
(Inherited from ITGIS_DynamicAggregatorAbstract)
RadiusAsText public A radius within which shapes will be aggregated expressed in human readable form, like '10pt', '3in'.Uses AsText parameter syntax.
(Inherited from ITGIS_DynamicAggregatorAbstract)
Threshold public Minimum number of shapes to form an aggregator.
(Inherited from ITGIS_DynamicAggregatorAbstract)

Remarks

The effect of applying ShapeReduction is visible below.

Original layer ShapeReduction

Aggregation is available through the Layer Properties Control in General node and is stored to the project file.

Example

The recommended way to construct an aggregator is to use TGIS_DynamicAggregatorFactory. It is also possible to directly assign an instance of a class that inherits from TGIS_AggregatorAbstract.

VisualBasic

// attach aggregator
Dim factory = new TGIS_DynamicAggregatorFactory() ;
layer.DynamicAggregator = factory.CreateInstance( "ShapeReduction", layer ) ;
 
// detach aggregator
layer.DynamicAggregator = Nothing ;

References

2020/05/28 09:02

Page Tools