Hello, as shown bellow I am getting the latitude and longitude values from my Mqtt with regex (which I can’t change to match the exact format of a geojson point) What I would like to know is if it is possible to form the structure of a point based on two other values or extracting the two values with regex and join them into a json structure.
Finally, I’d like to know if there’s is any way for the last value recorded to stay as it is, when the new value is null.
This is the structure I want to make: