Comment on page
This Data Stream example demonstrates how to use this Function to calculate interpolated value (c1) for input co-ordinates (x1,y1,x2,y2 and x3).
Drag the Linear Interpolation Function onto the canvas, link the input to the coordinates and the output to the printer. Rename the Agent and save the Data Stream.
Select the Agent and double-click to configure. Keep the default Collection.
Select input mappings for x1, y1, x2, y2, and either x3 or y3. In this case, x3 is selected leaving y3 to be calculated.
Enter a name for the new interpolation column. We'll use c1 in this example.
Apply the changes, save the Data Stream and publish it.
Let's look at the Live Data View. Observe the c1 column appended to the incoming events. C1 contains the interpolated value calculated from the incoming X1, Y1, X2, Y2, and X3 coordinates.