Skip To Content

Bearing Calculator Processor

The Bearing Calculator Processor can be used to calculate the bearing of a point GeoEvent using an origin and destination location as sources. This processor returns the bearing in a new field as part of a new GeoEvent Definition. Bearing is specified as a positive double value ranging from 0 to 360.


0 to 360 represents the bearing as the number of degrees measured clockwise from north. For example, a destination that is due east of the origin would produce a bearing of 90.0 degrees. A destination that is due south of the origin would produce a bearing of 180.0 degrees.

Optionally, the Bearing Calculator Processor can be configured to return the point GeoEvent's geometry as a polyline. This can be used to create the bearing segment between the origin and destination.

When configuring the Bearing Calculator Processor, you must select the source of your origin and destination values to calculate the bearing. The origin and destination source can be defined using separate X and Y fields, discrete point geometry from a geometry type field, or a combination of both. When configuring the origin and destination sources, the field must come from the same GeoEvent Definition. The Bearing Calculator Processor does not support calculating the bearing using fields from multiple different GeoEvent Definitions.


For more information on what constitutes a valid point geometry for the origin and destination source, see Geometry objects.