Skip to main content
Version: 0.91.0

Static Distance Calculator


Description

Calculates the distance (in km) between a fixed location (e.g., a place) and a latitude/longitude pair of an input event.


Required input

Requires a data stream that provides latitude and longitude values.


Configuration

Describe the configuration parameters here

Latitude field

The field containing the latitude value.

Longitude field

The field containing the longitude value.

Latitude

The latitude value of the fixed location

Longitude

The longitude value of the fixed location

Output

Outputs a similar event like below.

{
'distance': 12.5
}