Skip to main content
Version: 0.95.1

Geo Distance Calculator Static (Haversine)


Description

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


Required inputs

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
}