Show / Hide Table of Contents

Property EnterExitSpatialRelationship

EnterExitSpatialRelationship

Gets or sets the spatial relationship that determines whether a fence polygon has been entered or exited.

Declaration
public FenceEnterExitSpatialRelationship EnterExitSpatialRelationship { get; set; }
Property Value
Type Description
FenceEnterExitSpatialRelationship

The spatial relationship that determines whether a fence polygon has been entered or exited.

Remarks

When determining whether a feed entity has entered or exited a fence polygon, there are two spatial operations that can be used:

  • Intersects, where the geometry of the feed must intersect the fence polygon.
  • Contains, where the geometry of the feed must be contained by the fence polygon.
These operations can be used to determine whether a fence polygon has been entered, and also when it has been exited. Containment is a stricter version of intersection (e.g. when a fence polygon contains a feed entity they also intersect) so will tend to result in fewer notifications when the two geometries are nearby. By using different combinations of these rules for enter and exit you can control the likelihood that notifications will be sent.

Note that when the feed geometry is a MapPoint there is no difference between intersection and containment so these options will not affect behavior. When using a LocationGeotriggerFeed, set FeedAccuracyMode to UseGeometryWithAccuracy in order to create a polygon geometry that accounts for the area of uncertainty around a Position.

The default value is EnterIntersectsAndExitDoesNotIntersect.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.13 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.13 - 200.7
Xamarin.Android100.13 - 100.15
Xamarin.iOS100.13 - 100.15
UWP100.13 - 200.7
In This Article
Back to top Copyright © 2022 Esri.