Skip To Content

Processors

Processors are a component of a GeoEvent Service that perform specific actions on the GeoEvents, such as identification or enrichment as GeoEvents are routed from inputs to outputs.

All processors, when created, must be assigned a name. The name is case-sensitive and will be used to uniquely identify the processor in a GeoEvent Service. The type of processor being created is specified using the Processor drop-down, as illustrated below.

Processor Properties showing available processors

Extensión GeoEvent includes the following processors:

Buffer Creator

The Buffer Creator Processor can be used to dynamically create a buffer around a GeoEvent's geometry. This processor requires the field containing the GeoEvent's geometry to be specified. The field name or a tag applied to a field within a GeoEvent Definition can be used to identify the geometry field.

This processor can be configured to either replace the GeoEvent's geometry with the computed buffer or place the computed buffer into a new field. Altering a GeoEvent's schema by adding a new field requires the Extensión GeoEvent to create a new GeoEvent Definition. The new GeoEvent Definition will be managed by the Extensión GeoEvent and deleted if changes are made to the processor or the GeoEvent Service in which the processor participates.

When creating a geometric buffer, you must specify the linear units and a numeric distance for the buffer. The Extensión GeoEventdoes not support buffers measured in angular units (for example, decimal degrees). The Buffer Creator interface provides a list with common linear units such as Feet, Yard, Meter, Kilometer, and Nautical Mile. Extensión GeoEvent administrators can configure the units for the processor through the ArcGIS GeoEvent Manager. The buffer distance is specified as a positive integer value.

When computing a buffer, it is sometimes necessary to specify a projection other than the one associated with the geometry being buffered. For example, point locations that received in the WGS84 coordinate system cannot be buffered in that same coordinate system. A projected coordinate system, roughly centered within the expected extent of the expected event geometries, should be chosen instead. When specifying a projection other than the one associated with the GeoEvent geometries being received, use the numeric Well Known Identifier (WKID) of the most appropriate projection.

For more information on the Buffer Creator Processor, see the Introduction to Extensión GeoEvent tutorial available from Extensión GeoEvent tutorials.

Convex Hull Creator

Use a Convex Hull Creator Processor when you need to dynamically produce a polygon representing the smallest region or area enclosing a GeoEvent's geometry. Conceptually, a convex hull is the shape a rubber band would take if it were stretched around a GeoEvent's geometry.

  • Given a point, this processor will produce an equivalent point.
  • Given a line with two vertices, this processor will produce an equivalent line.
  • Given a simple convex polygon or envelope, this processor will produce an equivalent geometry.
  • Otherwise, the processor will produce the smallest convex polygon that contains the GeoEvent's geometry.

Convex Hull Creator requires that the field containing the GeoEvent's geometry be specified. The field name or a tag applied to a field in a GeoEvent Definition can be used to identify the geometry field.

Convex Hull Creator can be configured to either replace the GeoEvent's geometry with the produced convex hull or place the convex hull into a new geometry field. Altering a GeoEvent's schema by adding a new field requires the Extensión GeoEvent create a new GeoEvent Definition. The new GeoEvent Definition will be managed by the Extensión GeoEvent and deleted if changes are made to the processor or the GeoEvent Service in which the processor participates.

For more information on the Convex Hull Creator Processor, see the Introduction to Extensión GeoEvent tutorial available from Extensión GeoEvent tutorials.

Difference Creator

Use a Difference Creator Processor when you need to determine the intersection between a GeoEvent's geometry and a GeoFence and then clip or remove the portion of the GeoFence that intersects the GeoEvent's geometry.

Difference Creator requires two discrete geometries be specified. You cannot, for example, use a regular expression to specify several different GeoFences and remove the intersecting portions of each GeoFence from the GeoEvent's geometry. The processor also requires that the dimensionality of the GeoFence be equal to or greater than that of the GeoEvent's geometry—you cannot, for example, clip or subtract a point from a polyline (or a polyline from a polygon).

Difference Creator can be configured to replace the GeoEvent's geometry with the computed difference of the two geometries or place the difference into a new geometry field. Altering a GeoEvent's schema by adding a new field requires the Extensión GeoEvent create a new GeoEvent Definition. The new GeoEvent Definition will be managed by the Extensión GeoEvent and deleted if changes are made to the processor or the GeoEvent Service in which the processor participates.

For more information on the Difference Creator Processor, see the Introduction to Extensión GeoEvent tutorial available from Extensión GeoEvent tutorials.

Envelope Creator

The Envelope Creator Processor can be used to produce a simple rectangular envelope enclosing a GeoEvent's geometry. Contrast this with a Convex Hull Creator Processor, which produces a polygon representing the smallest area enclosing a GeoEvent's geometry—a convex hull is not always rectangular, whereas an envelope is always rectangular.

  • Given a point, this processor will produce an equivalent point.
  • Given a multipoint or line with two or more vertices with varying latitude, this processor will produce an envelope. A valid envelope cannot be produced if all of a geometry's vertices share the same latitude.

Envelope Creator requires the GeoEvent field containing the geometry be specified. The field name or a tag applied to a field in a GeoEvent Definition can be used to identify the geometry field.

Envelope Creator can be configured to either replace the GeoEvent's geometry with the created envelope or place the envelope into a new geometry field. Altering the GeoEvent's schema by adding a new field requires the Extensión GeoEvent to create a new GeoEvent Definition. The new GeoEvent Definition will be managed by the Extensión GeoEvent and deleted if changes are made to the processor or the GeoEvent Service in which the processor participates.

For more information on the Envelope Creator Processor, see the Introduction to Extensión GeoEvent tutorial available from Extensión GeoEvent tutorials.

Field Calculator

The Field Calculator Processor can be used to compute a value. The processor evaluates an expression to produce the needed value. The expression can include literal strings, numeric constants, and event data taken from named fields in the GeoEvent being processed. The calculated value can be written into an existing field, overwriting the data currently in that field, or it can be written into a new field created by the processor.

The Field Calculator is a versatile processor. Relatively constant expressions such as Distance * 0.3048 can be used to calculate an equivalent distance in meters given a distance expressed in feet. The processor also supports a variety of Java String functions such as the expression replaceAll(Description, 'foo', 'bar'), for example, which can be used to replace all instances of the substring "foo" with the substring "bar" in the description field of each GeoEvent. The processor also supports a number of mathematical functions. For example, you can identify which of two GeoEvent fields contains a larger value using max(Time1, Time2) or generate a random number using random().

Some points to consider when using Field Calculator:

  • Expressions can be mathematical or lexical (based on strings, rather than numerical values).
  • When working with literal strings, be sure to enclose them in single quotes: 'Cat' + ' ' + 'Dog'.
  • The processor will output a null value if a type conversion fails or the expression cannot be evaluated.
  • Operands in an expression can be literal field names or tags applied to fields in a GeoEvent Definition. For example, the expression Odom1 + Odom2 could be used to add values in the Odom1 and Odom2 fields to produce a simple sum. If the Odom1 field was tagged MILEAGEA and the Odom2 field was tagged MILEAGEB, the expression MILEAGEA + MILEAGEB could be used.
  • A good-faith effort will be made to handle data of different types within an expression. For example, 325 + 0.125, will be converted to an equivalent 325.0 + 0.125. If the specified output field expects a long integer value, the calculated double value will be truncated.
  • Watch for overflow when creating expressions. For example, each term in the expression 60 * 60 * 80 * 10000 is a short integer, but the result exceeds the 32-bit range of a normal integer. Expressing each term as a double value like 60.0 * 60.0 * 80.0 * 10000.0 avoids this issue.
  • Writing a computed value to a new field alters a GeoEvent's schema, which requires the Extensión GeoEvent to create a new GeoEvent Definition. When using this processor to create new fields, a field name and data type must be specified. A name for the GeoEvent Definition can be specified as well as an optional tag, which, if specified, will be applied to the new field in the resulting GeoEvent Definition.

The operators and functions supported by the Field Calculator Processor are illustrated below.

Operation Operator Example

Addition

+
Odom1 + Odom2

Expression adds the numeric values from the fields Odom1 and Odom2 to produce a simple summation. String concatenation (for example, "Hello" + "World") is also supported.

Subtraction

-
VALUEA - VALUEB

Expression subtracts the numeric values found in the fields tagged VALUEA and VALUEB to produce a simple difference.

Unlike addition, which supports string concatenation, you cannot use subtraction to calculate the difference between two strings.

Multiplication

*
Altitude * 0.3048

Expression multiplies the numeric value in the field named Altitude and the constant 0.3048 to produce a simple product (in this case, converting a value in feet to an equivalent value in meters).

Division

/
Distance / 1.609344

Expression divides the numeric value in the field named Distance by the constant 1.609344 to produce a simple quotient (converting a value in kilometers to an equivalent value in miles).

Modulus

%
VALUEA % VALUEB

Expression divides the numeric value in the field tagged VALUEA by the numeric value in the field tagged VALUEB and returns the remainder as a double value.

Logical AND

&&
Flag1 && Flag2

Expression performs a logical AND on the Boolean values from the fields named Flag1 and Flag2 to produce a Boolean result. Input fields must be of type Boolean. Literal strings (for example, TRUE) and constant values (for example, 1) in an expression will not be converted to an equivalent Boolean as part of the evaluation.

Logical OR

||
Flag1 || Flag2

Expression performs a logical OR on the Boolean values from the fields named Flag1 and Flag2 to produce a Boolean result.

Logical NOT

!
!(Flag1)

Expression performs a logical negation on the Boolean value from the field Flag1 to produce a Boolean result. Supports nested expressions such as !(Flag1 && Flag2).

Greater-Than

>
Altitude > 12500

Expression performs a logical evaluation to determine if the value in the field named Altitude is greater than the specified constant (result is a Boolean value).

Greater-or-Equal

>=
Altitude >= 12500

Expression performs a logical evaluation to determine if the value in the field named Altitude is greater than or equal to the specified constant (result is a Boolean value).

Less-Than

<
Altitude < 1500

Expression performs a logical evaluation to determine if the value in the field named Altitude is less than the specified constant (result is a Boolean value).

Less-or-Equal

<=
Altitude <= 1500

Expression performs a logical evaluation to determine if the value in the field named Altitude is less than or equal to the specified constant (result is a Boolean value).

Equality

==
VALUEA == VALUEB

Expression performs a logical evaluation to determine if the values found in the fields tagged VALUEA and VALUEB are equivalent (result is a Boolean value). Equivalency is only supported for numeric types with the initial product release (10.2.0).

Inequality

!=
VALUEA != VALUEB

Expression performs a logical evaluation to determine if the values found in the fields tagged VALUEA and VALUEB are not equal (result is a Boolean value). Inequality is only supported for numeric types with the initial product release (10.2.0).

Operators and functions supported by the Field Calculator
Nota:
The Field Calculator Processor will attempt to auto-convert values when presented with mixed types. For example, the expression 10.0 + 5 would auto-convert to handle the summation as the addition of two floating point values. Mixing numeric values and string values such as codeValue + "SomeString" where codeValue is a numeric value will produce an unspecified result. The correct approach would be to explicitly convert codeValue to a string using a string function such as valueOf(object) described below.
Nota:

The Field Calculator Processor equality and inequality operators should not be applied directly to floating point values. To correctly compare if two decimal values are equal, you must first scale the values, round the values to long integers, and then compare the long integer values.

  • Do not compare MyFloat1 == MyFloat2.
  • Instead, compare round(MyFloat1*1000) == round(MyFloat2*1000).

The Field Calculator Processor includes functions that mirror those found in java.lang.Math. For a complete technical specification and list of functions, refer to the Java developer documentation. A summary of the most popular functions is included below.

Constants
Function Description

E()

Returns Euler's number (e) raised to the power of the specified double value

PI()

Returns a double representation of pi (the ratio of a circle's circumference to its diameter)

Constants for Field Calculator

Common Functions

Function Description

abs(value)

Returns the absolute value of the argument

ceil(double)

Returns the ceiling (next greatest integer) of the specified double value

floor(double)

Returns the floor (next smallest integer) of the specified double value

hypot(double x, double y)

Returns sqrt((x*x) + (y*y)) without intermediate overflow or underflow

max(value a, value b)

Returns the greater of two specified argument values

min(value a, value b)

Returns the smaller of two specified argument values

random()

Returns a double value greater than or equal to 0.0 and less than 1.0

round(value)

Returns the closest long to the argument (given a double value)

Common functions for Field Calculator
Nota:

A Field Calculator Processor will handle numeric type conversions when possible. For example, when providing different numeric types to a function (for example, max(3.14159,25)), the values will be cast to comparable types (int, float, or double) in order to perform the comparison. The processor will also cast calculated values when writing the values to an event's attribute field (for example, 6 + 7 will be written as 13.0 when the event's field is of type double).

Exponentials

Function

Description

sqrt(double)

Returns the square root of the specified double value

cbrt(value)

Returns the cube root of the specified double value

exp(double)

Returns Euler's number (e) raised to the power of the specified double value

pow(double, double)

Returns the value of the first argument raised to the power of the second argument

Exponentials for Field Calculator

Logarithms

Function

Description

log(double)

Returns the natural logarithm (base e) of a double value

log10(double)

Returns the base 10 logarithm of a double value

Logarithms for Field Calculator

String Functions

Function

Description

int length(String source)

Returns the length of the string.

boolean isEmpty(String source)

Returns true if the source's length is 0.

boolean isNull(String source)

Returns true if the source value is null.

boolean equals(String source, Object anObject)

Compares the source string to the specified object. Returns true if the given object represents a string equivalent to the source string; false otherwise.

boolean equalsIgnore(String source, String anotherString)

Compares the source string to another string, ignoring case considerations. Two strings are considered equal, ignoring case, if they are of the same length and corresponding characters in the two strings are equal, ignoring case. Returns true if the argument is not null and it represents an equivalent string, ignoring case; false otherwise.

int compareTo(String source, String prefix)

Compares two strings lexicographically. Returns the value 0 if the str argument is equal to the source string; a value less than zero if the source string is lexicographically less than the str argument; and a value greater than zero if the source string is lexicographically greater than the str argument.

int compareToIgnoreCase(String source, String str)

Compares two strings lexicographically, ignoring case differences. Returns a negative integer, zero, or a positive integer if the specified string is greater than, equal to, or less than the source string, ignoring case considerations.

boolean startsWith(String source, String prefix)

Tests if the source string starts with the specified prefix. Returns true if the character sequence represented by the prefix argument is a prefix of the character sequence represented by the source string; false otherwise.

boolean endsWith(String source, String suffix)

Tests if the source string ends with the specified suffix. Returns true if the character sequence represented by the suffix argument is a suffix of the character sequence represented by the source object; false otherwise.

int indexOf(String source, String str, int fromIndex)

Returns the index within the source string of the first occurrence of the specified substring, starting at the specified index. Returns the index within the source string of the first occurrence of the specified substring, starting at the specified index. For index searching from the beginning of the string, set parameter fromIndex = 0.

int lastIndexOf(String source, String str, int fromIndex)

Returns the index within the source string of the last occurrence of the specified substring, searching backward starting at the specified index. Returns the index within the source string of the last occurrence of the specified substring. For index searching from the end of the string, set parameter fromIndex = length(source).

String substring(String source, int beginIndex, int endIndex)

Returns a new string that is a substring of the source string. The substring begins at the specified beginIndex and extends to the character at index endIndex - 1.

String concat(String source, String str)

Concatenates the specified string to the end of the source string.

boolean matches(String source, String regex)

Tells whether or not the source string matches the given regular expression. Returns only if the source string matches the given regular expression.

boolean contains(String source, CharSequence s)

Returns true only if the source string contains the specified sequence of char values. Returns true if the source string contains s; false otherwise.

String replaceFirst(String source, String regex, String replacement)

Replaces the first substring of the source string that matches the given regular expression with the given replacement. Returns the resulting string.

String replaceAll(String source, String regex, String replacement)

Replaces each substring of the source string that matches the given regular expression with the given replacement. Returns the resulting string.

String replace(String source, CharSequence target, CharSequence replacement)

Replaces each substring of the source string that matches the literal target sequence with the specified literal replacement sequence. The replacement proceeds from the beginning of the string to the end. Returns the resulting string.

String toLowerCase(String source)

Converts all of the characters in the source string to lowercase using the rules of the default locale. Returns the string, converted to lowercase.

String toUpperCase(String source)

Converts all of the characters in the source string to uppercase using the rules of the default locale. Returns the string, converted to uppercase.

String trim(String source)

Returns a copy of the source string, with leading and trailing white space omitted.

String valueOf(String source, Object obj)

Returns the string representation of the Object argument.

String functions for Field Calculator

Trigonometric Functions

Function

Description

acos(double)

Returns the arc cosine of a value (returned angle is between 0.0 and pi)

asin(double)

Returns the arc sine of a value (returned angle is between -pi/2 and pi/2)

atan(double)

Returns the arc tangent of a value (returned angle is between -pi/2 and pi/2)

atan2(double y, double x)

Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta)

cos(double)

Returns the trigonometric cosine of an angle

cosh(double)

Returns the hyperbolic cosine of a double value

sin(double)

Returns the trigonometric sine of an angle

sinh(double)

Returns the hyperbolic sine of a double value

tan(double)

Returns the trigonometric tangent of an angle

tanh(double)

Returns the hyperbolic tangent of a double value

toDegrees(double)

Converts an angle measured in radians to an approximate angle in degrees

toRadians(double)

Converts an angle measured in degrees to an approximate angle in radians

Trigonometric functions for Field Calculator

Field Calculator (Regular Expression)

The Field Calculator (Regular Expression) Processor can be used to leverage the power of regular expressions to identify a pattern within a target field and extract the substrings from received events. The extracted substrings are either written back to the target field, replacing the field's original value, or written to a new field. This processor does not support the general mathematical, lexical, and logical expressions supported by the Field Calculator Processor above.

Nota:

When specifying the Field Name parameter for this processor, do not forget to enclose the field name with ${…}. This is different than the Field Calculator Processor above, which expects GeoEvent field names without encasement.

Nota:

The Field Calculator (Regular Expression) Processor does not support back references within the specified regular expression pattern.

Writing a computed value to a new field alters the GeoEvent's schema, which requires the Extensión GeoEvent to create a new GeoEvent Definition. When using this processor to create new fields, a field name and data type must be specified. A name for the GeoEvent Definition can be specified as well as an optional tag, which, if specified, will be applied to the new field in the resulting GeoEvent Definition.

Field Enricher (Feature Service)

The Field Enricher (Feature Service) Processor can be used to enrich GeoEvents with attribute data from a published feature service's feature layer or nonspatial table. The attributes will be appended as new fields to the GeoEvent being processed. The processor requires a registered ArcGIS Server connection be specified; the service folder, the feature service name, and the target layer within the feature service must all be specified when configuring this processor. The data types for each appended field will be carried over from the enrichment source—they are not specified as part of the processor configuration.

GeoEvent enrichment relies on what database professionals refer to as a table join. You can specify a field name from the feature service's table and the name of the GeoEvent field on which a join can be performed. While the actual field name from the feature service's table must be provided, the GeoEvent field on which the join will be performed can be specified using either the name of the GeoEvent field or a tag applied to a field in the GeoEvent Definition associated with the event being processed.

A comma-separated list of the fields to be included in the enrichment can be constructed using the processor's Propertiesdialog box by selecting fields or typed manually using the keyboard. You can optionally specify the tags that the Extensión GeoEventshould apply to each new field it creates as a second list of comma-separated values.

GeoEvent enrichment alters the GeoEvent's schema, which requires the Extensión GeoEvent to create a new GeoEvent Definition. The new GeoEvent Definition will be managed by the Extensión GeoEvent and deleted if changes are made to the processor or the GeoEvent Service in which the processor participates.

For more information on the Field Enricher (Feature Service) Processor, see the Introduction to Extensión GeoEvent tutorial available from Extensión GeoEvent tutorials.

Field Enricher (File)

The Field Enricher (File) Processor can be used to enrich GeoEvents with attribute data contained in a system file rather than from a published feature service. GeoEvent enrichment from a system file requires the system folder containing the file be registered with the Extensión GeoEvent as a data store. Once a registered system folder is specified, the processor can retrieve the enrichment data from a named file.

Nota:

When using a text file as the source for enrichment, the file must follow the format illustrated below. Specifically, the first line of the file must identify the field names as comma-separated values. The second line must specify the data type of each field. The file’s data values are entered starting with the third line of the file.

PilotName,PilotPhone,PilotYearsOfService,PilotActive
String,String,Integer,Boolean
Adam Mollenkopf,111-111-1111,4,TRUE
Ryan Elliott,222-222-2222,7,TRUE
Javier Delgadillo,333-333-3333,12,TRUE
Vlad Plechnoy,444-444-4444,10,TRUE
NickBrezovar,555-555-5555,5,TRUE

GeoEvent enrichment relies on what database professionals refer to as a table join. You can specify a field name from the feature service's table and the name of the GeoEvent field on which a join can be performed. While the actual field name from the feature service's table must be provided, the GeoEvent field on which the join will be performed can be specified using either the name of the GeoEvent field or a tag applied to a field in the GeoEvent Definition associated with the event being processed.

A comma-separated list of the fields to be included in the enrichment can be constructed using the processor's Propertiesdialog box by selecting fields or typed manually using the keyboard. You can optionally specify the tags that the Extensión GeoEventshould apply to each new field it creates as a second list of comma-separated values.

GeoEvent enrichment alters the GeoEvent's schema, which requires the Extensión GeoEvent to create a new GeoEvent Definition. The new GeoEvent Definition will be managed by the Extensión GeoEvent and deleted if changes are made to the processor or the GeoEvent Service in which the processor participates.

For more information on the Field Enricher (File) Processor, see the Introduction to Extensión GeoEvent tutorial available from Extensión GeoEvent tutorials.

Field Mapper

The Field Mapper Processor can be used to translate (or map) data from one GeoEvent schema to another GeoEvent schema or GeoEvent Definition. Every GeoEvent has an associated GeoEvent Definition that identifies the attribute fields and data types. GeoEvent Definitions can change if they are processed, such as when a GeoEvent is enriched with new fields.

To configure Field Mapper, select a source GeoEvent Definition and a target GeoEvent Definition. Fields from the target GeoEvent Definition appear to the right, with drop-down lists available from the selected source GeoEvent Definition, allowing you to select the appropriate field to map. The data type of each field is displayed to help identify the appropriate mappings for each field.

A GeoEvent Definition appropriate to GeoEvents at one stage of processing might not align with the schema of a published feature service. The GeoEvent will need to be processed by Field Mapper to translate each GeoEvent's schema to match the schema of the target features before a GeoEvent Service can update features in a feature service.

For example, many real-time data streams (especially those providing generic JSON) frequently provide data structures that include groups with subfields or lists with multiple values. Such data structures do not align with feature service schemas whose data structures are flat and expect discrete data types (date, string, integer, and so forth). The primary purpose of Field Mapper is to flatten hierarchical structures and align them with a feature service's schema.

Some other common uses for Field Mapper include the following:

  • Since specifying a target GeoEvent Definition establishes the schema of the GeoEvents sent from Field Mapper, the processor can effectively be used to reduce the number of attribute fields routed from an input to an output. You just need to create a GeoEvent Definition with the desired fields and then use Field Mapper to reduce and align GeoEvents received by a GeoEvent Service with the desired output schema.
  • Field Mapper can be used to perform some basic data conversions. For example, when a GeoEvent field containing integer data can be converted to a long or double representation of the data value. Numeric values can be converted to create string representations of the data. If Field Mapper is unable to complete a data type conversion, a null value will be written to the mapped field.
Nota:

If you are updating features in a published feature service and do not want one or more fields of existing features to be modified, leaving those fields unmapped in Field Mapper will result in null values being written as features are updated. Use Field Reducer (see below) to remove unmapped fields before sending the GeoEvents to an output connector, which is responsible for the feature service update.

Field Reducer

The Field Reducer Processor can be used when you need to remove fields from a GeoEvent. This effectively deletes attribute data from the GeoEvent being processed, allowing a simplified representation of the GeoEvent to be routed for additional processing or sent to an output. When configuring Field Reducer, specify the fields to be removed as a comma-separated list.

Field reduction alters the GeoEvent's schema, which requires the Extensión GeoEvent to create a new GeoEvent Definition. The new GeoEvent Definition will be managed by the Extensión GeoEvent and deleted if changes are made to the processor or the GeoEvent Service in which the processor participates. Lastly, specify a name for the new resulting GeoEvent Definition.

GeoTagger

The GeoTagger Processor can be used to enrich a GeoEvent with the name of an area of interest, also known as a GeoFence, with which the GeoEvent's geometry has a specified spatial relationship.

GeoTagging is a special case of event enrichment and spatial filtering. For example, you can configure a GeoTagger to append the names of any GeoFences a GeoEvent's geometry is found to be inside. GeoEvents processed by the GeoTagger will have a field appended to it that contains the names of any GeoFences in which its geometry is found.

Nota:

GeoFences must be imported into the Extensión GeoEvent from a feature service prior to configuring a GeoTagger Processor. See Managing GeoFences to learn more about working with GeoFences in the Extensión GeoEvent.

When configuring GeoTagger, you must select a spatial operator to specify the relationship that must be satisfied in order for the processor to tag a GeoEvent. For example, you might want to enrich GeoEvents by tagging them with the name of any GeoFence a GeoEvent's polygon intersects.

GeoTagger supports a range of spatial operators including Contains Any, Crosses Any, Disjoint Any, Enter Any, Equals Any, Exit Any, Inside Any, Intersects Any, Outside Any, Overlaps Any, Touches Any, and Within Any. These operators assume any GeoFence being considered, which satisfies the operator's defined spatial relationship, is sufficient to trigger GeoTagger to enrich the GeoEvent being processed.

For example, if the Intersects Any spatial operator is selected, and several dozen GeoFences modeling nonoverlapping areas of interest are being considered, then the name of any GeoFence whose area intersects a GeoEvent's geometry would be added to that GeoEvent being processed.

Nota:

It is common to think of a GeoFence as modeling an area of interest, implying that GeoFences are always polygon geometries. A GeoFence could also be a point or polyline geometry, as the list of supported spatial operators implies. A polygon geometry associated with a GeoEvent could be tested to see if it intersects, crosses, or contains a GeoFence whose geometry is a point or polyline.

When specifying the name of the field containing a GeoEvent's geometry, GeoTagger will accept either the name of the event field or a tag (typically the GEOMETRY tag) that has been applied to a field in the GeoEvent Definition.

GeoTagger alters the GeoEvent's schema, which requires the Extensión GeoEvent to create a new GeoEvent Definition. The new GeoEvent Definition will be managed by the Extensión GeoEvent and deleted if changes are made to the processor or the GeoEvent Service in which the processor participates. Specify a name for the new resulting GeoEvent Definition as well as a name for the field the GeoTagger will write its enriched values.

Three options are available for how the GeoTagger will format its enriched values. Delimited Value specifies that GeoFence names should be written as a simple comma-separated list. The other two options format the enriched values as a JSON List or as elements in a JSON Group. Configuring GeoTagger to include the name of the GeoFence category in the enrichment and returning the United States states and counties as separate categories of GeoFences, GeoTagging enrichment might take the following forms:

  • List: ["UnitedStates/California","Counties/San_Bernardino"]
  • Group: [{"Category":"UnitedStates","Name":"California"},{"Category":"Counties", "Name":"San_Bernardino"}]

For more information on the GeoTagger Processor, see the Introduction to Extensión GeoEvent tutorial available from Extensión GeoEvent tutorials.

Incident Detector

The Incident Detector Processor can be used to indicate that a received GeoEvent satisfies some condition and an incident should be opened. For example, assume a data stream is reporting vehicle positions and their current speed. Incident Detector could generate an incident when any of the vehicles exceed a certain rate of speed or when any enter a particular area of interest or GeoFence. As new updates are received from the tracked vehicle, the ongoing incident in the Extensión GeoEvent will be updated. The incident will be closed once the vehicle resumes a safe rate of speed or leaves the GeoFence area.

Incident Detector is different from other processors in that the GeoEvents sent from the processor are not copies (or derivatives) of GeoEvents received by the processor. GeoEvents sent from the processor are associated with the incident GeoEvent Definition that is created when the Extensión GeoEvent is installed.

Incident Detector uses specified attribute and spatial conditions to detect, generate new, and update ongoing incidents. Open incidents remain in an ongoing state until closed. Incidents are closed when a GeoEvent is received that satisfies the closing condition or when no GeoEvents associated with the incident are received within a specified period of time.

When configuring Incident Detector, you must specify an opening condition; a closing condition, however, is optional. If a closing condition is not specified, the processor will use a logical negation of the opening condition as an implicit closing condition.

Nota:

For more information on spatial relationship operators and how to construct the attribute and spatial expressions used for opening and closing conditions, see Filters.

Nota:

GeoEvents sent into Incident Detector must have a GeoEvent Definition containing a TRACK_ID. The processor uses this tagged field to associate incidents it creates with GeoEvents it receives (which in turn are associated with a discrete object, vehicle, sensor, or other item being monitored).

With Incident Detector, you must specify a name that can be used to identify incidents opened by the processor. For example, an Incident Detector Processor created to detect incidents of speeding vehicles could associate the string Speeding Vehicle with incidents it creates.

The opening and closing conditions specified for Incident Detector can be either attribute based or based on a spatial relationship with a GeoFence. Like a filter, if the data associated with a received GeoEvent satisfies the specified expression, Incident Detector will detect the condition and either open a new incident, update an ongoing incident, or close an incident.

The processor can be configured to set a severity level associated with incidents. The available severity levels are notification, warning, and urgent. Incidents are limited to a single severity level; the processor must be edited and the GeoEvent Service republished in order to change the severity level.

With Incident Detector, you must specify the type of incidents the processor will create:

  • Point-In-Time incidents have no closing condition. They are considered instantaneous and are closed immediately after they are generated and have no incident duration.
  • Cumulative incidents have both an opening and a closing condition. The time between the incident's generation and its expiry, or closing, is the incident's duration. Cumulative incidents are monitored and updated by the Extensión GeoEvent as additional event data is received.

Each incident generated by Incident Detector has an associated geometry. The type of geometry is specified when the processor is configured. Incident Detector is typically configured to associate a point geometry with incidents it creates to model an incident as having occurred at a specific location at a specific time. However, multipoint and polyline are also supported geometry types for incidents created by the processor.

The processor will automatically close an ongoing incident if it has not received an update for that incident's TRACK_ID within a specified period of time. Specify an appropriate expiry time (in seconds) when configuring Incident Detector to define this behavior. Incidents will expire and transition to a closed state, even if GeoEvents satisfying the processor's closing condition have not been received, if an update has not been received before the timer counting down the expiry time expires. Specify a value of zero for the expiry time to disable automatic expiry for incidents created by the processor.

For more information on the Incident Detector Processor, see the Introduction to Extensión GeoEvent tutorial available from Extensión GeoEvent tutorials.

Intersector

The Intersector Processor can be used to generate a geometry representing the intersection between a GeoFence and a GeoEvent's geometry. The GeoEvent geometry is considered the base—the GeoFence is the geometry being evaluated to determine if an intersection exists.

Nota:

The intersection between two geometries is generally equal to or less than the geometric dimension of the geometries being considered. For example, if a GeoEvent's associated geometry is a point, even if the specified GeoFence's geometry is a polyline or polygon, the intersection (assuming one exists) must be a point. If a GeoEvent's associated geometry is a polyline and the specified GeoFence's geometry is a polygon, the intersection is most likely a line but could also be a point.

Intersector requires two discrete geometries be specified. You will not, for example, be able to use a regular expression to specify several different GeoFences and obtain the intersection of each GeoFence with the geometry associated with the GeoEvent being processed.

The processor can be configured to either replace the GeoEvent's geometry with the discovered intersection or write the intersecting geometry into a new field. Adding a new field to a GeoEvent alters the GeoEvent's schema, which requires the Extensión GeoEvent to create a new GeoEvent Definition. The new GeoEvent Definition will be managed by the Extensión GeoEvent and deleted if changes are made to the processor or the GeoEvent Service in which the processor participates.

For more information on the Intersector Processor, see the Introduction to Extensión GeoEvent tutorial available from Extensión GeoEvent tutorials.

No Operation

A No Operation Processor takes no action and has no effect on GeoEvents it receives. GeoEvents pass through this processor as if it did not exist. This processor could be used in a GeoEvent Service as a stub or placeholder for an actual processor you want to configure later, allowing you to focus on designing and testing other parts of the GeoEvent Service.

A No Operation Processor can be useful in other scenarios as well, including the following:

  • Troubleshooting a published GeoEvent Service that is not working as expected. Configuring a No Operation Processor to perform no operation effectively removes it from the GeoEvent Service without forcing the GeoEvent Service's workflow to be redrawn.
  • Designing a processing and filtering workflow in a GeoEvent Service before development on a particular component has been completed. Once development of the components is completed, a No Operation Processor can be reconfigured as another type of processor.
  • Demonstrating how to temporarily turn off the processing being performed by particular components of a GeoEvent Service. By configuring an existing processor as a No Operation Processor and republishing the GeoEvent Service, the processing being performed by the Extensión GeoEvent can be highlighted.

Projector

Event data frequently expresses coordinate values in geographic space using latitude and longitude. The Projector Processor can be used to project a GeoEvent's geometry from its native coordinate system to another spatial reference. For example, you might want to explicitly project event data in order to review its coordinate values in the context of a particular coordinate system.

It is recommended you understand the native coordinate system of the streaming data and how it relates to other spatial data you might have imported such as GeoFences. ArcGIS for Server and the Extensión GeoEvent typically project geometries as needed so spatial evaluations are conducted in a common spatial reference. ArcGIS for Server will project data it receives to match a feature service's spatial reference, for example, before creating or updating features. The Extensión GeoEvent will project spatial data on-the-fly before evaluating the data for intersection with a GeoFence.

Use this processor when you want to explicitly project the GeoEvent's before additional filtering or processing steps occur in a GeoEvent Service.

The processor requires that a field containing the geometry be specified. You can specify either the GeoEvent field name or a tag applied to a field within a GeoEvent Definition that identifies the geometry field. The processor also requires the Well Known Identifier (WKID) of the coordinate system to which the input data will be projected. The WKID for the WGS 1984 World Geographic coordinate system, for example, is 4326.

Nota:

For more information on supported coordinate systems, see Using spatial references.

The Projector Processor can be configured to replace the GeoEvent's geometry with the projected geometry or place the projected geometry into a new field. Adding a new field to a GeoEvent alters the GeoEvent's schema, which requires the Extensión GeoEvent to create a new GeoEvent Definition. The new GeoEvent Definition will be managed by the Extensión GeoEvent and deleted if changes are made to the processor or the GeoEvent Service in which the processor participates.

For more information on the Projector Processor, see the Introduction to Extensión GeoEvent tutorial available from Extensión GeoEvent tutorials.

Simplifier

The Simplifier Processor can be used to correct a GeoEvent's associated geometry to render the geometry topologically consistent with its type. Simplify has no effect on point geometry. Multipoint geometry will snap all vertices to a grid appropriate for the geometry's spatial reference and then remove duplicate vertices. Polyline and polygon geometries with self-intersecting segments will be reconstructed with multiple paths or rings to produce a topologically correct multipart polyline or polygon.

Simplification is not the same as generalization. Simplification does remove unnecessary vertices along an otherwise topologically correct line segment or reshape a geometry to reduce detail to produce a geometry for more efficient display at small map scales. The purpose of simplification is to produce a feature that is valid for insertion into a geodatabase. Features created in an ArcGIS for Desktop editing session are already topologically correct and simple. Features polled from a feature service do not require simplification before processing them in a GeoEvent Service.

Simplifier requires the GeoEvent field containing the geometry be specified. You can specify either the GeoEvent field name or a tag applied to a field within a GeoEvent Definition that identifies the geometry field.

The processor can be configured to replace the GeoEvent's geometry with the simplified geometry or place the simplified geometry into a new field. Adding a new field to a GeoEvent alters the GeoEvent's schema, which requires the Extensión GeoEvent to create a new GeoEvent Definition. The new GeoEvent Definition will be managed by the Extensión GeoEvent and deleted if changes are made to the processor or the GeoEvent Service in which the processor participates.

For more information on the Simplifier Processor, see the Introduction to Extensión GeoEvent tutorial available from Extensión GeoEvent tutorials.

Symmetric Difference Creator

The Symmetric Difference Creator Processor can be used to clip or remove the intersecting portion of a GeoEvent's geometry and a GeoFence from the union of the two geometries. The symmetric difference of two geometries is essentially an exclusive OR statement.

Symmetric Difference Creator requires two discrete geometries be specified. You will not, for example, be able to use a regular expression to specify several different GeoFences and obtain a symmetric difference for the collection of geometries. The processor also requires geometries to have the same type—so you will not, for example, be able compute the symmetric difference between a point and a polyline as a union of the two.

The processor can be configured to replace the GeoEvent's geometry with the computed symmetric difference or place the symmetric difference into a new geometry field. Adding a new field to a GeoEvent alters the GeoEvent's schema, which requires the Extensión GeoEvent to create a new GeoEvent Definition. The new GeoEvent Definition will be managed by the Extensión GeoEvent and deleted if changes are made to the processor or the GeoEvent Service in which the processor participates.

For more information on the Symmetric Difference Creator Processor, see the Introduction to Extensión GeoEvent tutorial available from Extensión GeoEvent tutorials.

Track Gap Detector

The Track Gap Detector Processor can be used to detect the absence of events from streaming data. Like Incident Detector, GeoEvents sent from Track Gap Detector are not copies (or derivatives) of GeoEvents received by the processor. GeoEvents sent from the processor are associated with the TrackGap GeoEvent Definition created when the Extensión GeoEvent is installed.

GeoEvents sent to a Track Gap Detector Processor must have a GeoEvent Definition with a TRACK_ID. The processor uses this tagged field to determine when GeoEvents are no longer being received. A processor must receive at least one GeoEvent with a given TRACK_ID before it will be able to detect the absence of GeoEvents for that track.

With the Track Gap, you must specify both the Gap Duration and Gap Detection Interval:

  • Gap Duration specifies the number of seconds the processor will wait before determining expected data has not been received.
  • Gap Detection Interval specifies the number of seconds in each polling interval.

For example, assuming a Track Gap Processor is configured with a gap detection interval of 120 seconds and a gap duration of 300 seconds, the processor would check its internal register of received GeoEvents every two minutes (120 seconds) to see if any TRACK_ID in its registry had not been observed within the last five minutes (300 seconds).

The gap detection interval also controls how often notifications are generated. When the notification mode is set to Continuous, a new TrackGap event will be generated on each poll of the processor's internal registry for each TRACK_ID expected but not recently received. If you prefer a single notification when a gap is first detected, followed by a second event to notify you when the expected GeoEvents are once again being received, specify the On Change notification mode.

Finally, when configuring a Track Gap Processor you can specify the GeoEvent field that contains the geometry. If a GeoEvent field name is specified, the processor will append the geometry from the most recently received GeoEvent to TrackGap events it generates. For example, if a data stream was reporting the position of vehicles and the processor was configured to poll every 30 seconds to determine if a gap of at least 120 seconds existed since the last received vehicle report, the processor could be configured to include the last reported vehicle location with its gap notification events.

Union Creator

The Union Creator Processor can be used to produce a geometric union of a GeoEvent's associated geometry with one or more geometries you have imported as GeoFences. The processor requires the GeoEvent field containing the geometry be specified. You can specify either the GeoEvent field name or a tag applied to a field within a GeoEvent Definition that identifies the geometry field.

The processor can be configured to either replace the GeoEvent's geometry with the union of the specified geometries or place the union into a new geometry field. Adding a new field to a GeoEvent alters the GeoEvent's schema, which requires the Extensión GeoEventto create a new GeoEvent Definition. The new GeoEvent Definition will be managed by the Extensión GeoEvent and deleted if changes are made to the processor or the GeoEvent Service in which the processor participates.

Unlike other processors, such as Difference, Symmetric Difference, and Intersector, which only operate with two discrete geometries, the Union Processor accepts a regular expression, allowing several different GeoFences to be specified. Consequently, you are able to obtain the union of a received GeoEvent's geometry with one or more geometries that have been imported as GeoFences.

For more information on the Union Creator Processor, see the Introduction to Extensión GeoEvent tutorial available from Extensión GeoEvent tutorials.