Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
One extraction is from Json and the other from an existing table. I want to great a variable in tmap that will be added In the output
JSON ExistingTable OutputVar
Latitude latitude latitude
-24.50 -24.10 0.40
Then if the variable difference is greater than 0.50 use the JSON data. I can use the tFilter row for that
The problem you have here is linking the two datasets. Do you have a key that can join them?
They are joined by deviceID with both longitude and latitude
tExtractJasonField>>>>tMap<<<<<<tDBinput
|
|
I need to create variable that will calculate the [existing coordinates(from tdbinput) minus new coordinates(from jSon)]
Then join the data using the tMap and subtract one from the other.
row1.latitude - row2.latitude is not working
What is the data type of your GPS columns? I suspect that they might be Strings. They need to be Doubles
datatype is double
Subtraction should work then. Can you show the tMap you are trying this in? I'll need to see the whole screen so that I can see data types and the expressions that are used