← Back to carmenta.com
Carmenta Engine SDK Documentation
×

AggregationPolicy Enumeration

Specifies the behavior of an AggregatingLayer.

Namespace: Carmenta.Engine
NuGet/Assembly: Carmenta.Engine.5.16.2.nupkg (in the CECore assembly)

Syntax

C#
public enum AggregationPolicy

Values

Value nameValueDescription
Default0

The default aggregation policy avoids overlap between siblings in a hierarchy. Any overlap between two or more siblings will cause them to be aggregated.

In the image above the two siblings B and C overlap which will result in both them and their sibling D being hidden and replaced by the parent feature A.

Aggressive1

The aggressive aggregation policy avoids overlap between both siblings and different branches in the same hierarchy.

Either of the highlighted overlapping features in the image above will trigger an aggregation that hides features E, F and G and replaces them with feature C. In this example the same aggregation will occur even if feature E and F did not overlap because the aggressive policy aggregates the deepest overlapping branch.

Relaxed2

The relaxed aggregation policy avoids overlap between siblings but waits until all siblings overlap and form a single cluster before they are hidden and replaced by their parent.

In the image above the features B, C and D overlap each other and form a single cluster so they will be hidden and replaced by the parent feature A.

Remarks

The different aggregation policies are demonstrated by the aggregating_layer.px and tactical_aggregating_layer.px map configuration samples.

Platforms

Windows, Linux, Android

By accessing the information on this site you accept our terms and conditions and privacy policy.
This site uses cookies to enhance your experience and provide additional functionality.

Accept