Skip to content

Haversine distance

Returns the distance between two pairs of GPS latitude and longitude co-ordinates in metres. For example, 51.487263,-0.124323, 38.9517,-77.1467. Haversine distance lives in the Others category of the fx menu.

ParameterTypeRequiredDefaultDescription
Inputstringyes—Value to transform. Previous step output or a literal.

Input is the primary value (previous step output or a literal).

TypeDescription
numberResult of the Haversine distance transformation.
Run Haversine distance

Returns the distance between two pairs of GPS latitude and longitude co-ordinates in metres. Adjust optional parameters when the defaults do not match your payload.

  1. Set Input to the value to transform (previous step output or a literal).

  2. Confirm Output value shows the transformed result.