Convert distance
Description
This operation converts values between different units of length or distance.
Data types
These are the input/output expected data types for this operation:
Input data
- Values whose unit of length you want to transform. They must be strings representing numbers.
Output data
- Resulting values after transforming them to the selected unit of length.
Parameters
These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):
Input units*
Enter the unit of length of your input data. You must indicate one of the following:
Metric
Nanometres (nm)Micrometres (μm)Millimetres (mm)Centimetres (cm)Metres (m)Kilometres (km)
Imperial
Thou (th)Inches (in)Feet (ft)Yards (yd)Chains (ch)Furlongs (fur)Miles (mi)Leagues (lea)
Maritime
Fathoms (ftm)CablesNautical miles
Comparisons
Cars (4m)Buses (8.4m)American football fields (91m)Football pitches (105m)
Astronomical
Earth-to-MoonsEarth's equatorsAstronomical units (au)Light-years (ly)Parsecs (pc)
Output units*
Enter the required unit of length of your output data. You must indicate one of the following:
Metric
Nanometres (nm)Micrometres (μm)Millimetres (mm)Centimetres (cm)Metres (m)Kilometres (km)
Imperial
Thou (th)Inches (in)Feet (ft)Yards (yd)Chains (ch)Furlongs (fur)Miles (mi)Leagues (lea)
Maritime
Fathoms (ftm)CablesNautical miles
Comparisons
Cars (4m)Buses (8.4m)American football fields (91m)Football pitches (105m)
Astronomical
Earth-to-MoonsEarth's equatorsAstronomical units (au)Light-years (ly)Parsecs (pc)
Example
Suppose you want to convert a series of events from meters into yards:
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose Convert distance.
Set Input units to
Metres (m).Set Output units to
Yards (yd).Give your Output field a name and click Save. The unit of length of the values in your input field will be transformed. For example:
You can try out operations with specific values using the Input field above the operation. You can enter the value in the example above and check the result in the Output field.
Last updated
Was this helpful?

