id: version-0.68.0-org.apache.streampipes.processors.geo.jvm.processor.staticdistancecalculator title: Static Distance Calculator sidebar_label: Static Distance Calculator original_id: org.apache.streampipes.processors.geo.jvm.processor.staticdistancecalculator


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
}