I am using node-red worldmap track node to do the tracking of my drone flight. I am having following issue with it.
First issue is that it shows me old flight tracks, and the 2nd issue is that it draw one straight track line between two markers on its own.
How can i reset track on map? With the code below i can reset my other layers but track layer remember old flight tracks points until i reload node-red.
yes i noticed the issue and did the same but i still have the same issue. One other wired thing is that I publish tracks as tracks layer in map but they are displayed as tracks_
Yes, I prefer it, as when you do a git diff between the versions after adding a line it only shows the inserted line and not the one before with the added comma.
I think that with JSON strings, however, the commas are not allowed.
Though the above code when i remove the layers, it worked fine. All the layers are removed from map. But when i run the simulation flight agian, it shows tracks of previous flight too.
If i restart the node-red and then run the simulation flight then everything works perfectly fine.
My guess is that node-red wroldmap tracks are stored in some variable if we can reset it before every flight, the issue should be resolved.
If i don't restart node-red and delete layer on map, the layers are removed temperoraly but when i fetch data of any flight, the tracks of both fligths are displayed like that
Please add a write-file' to the output of each of the influx-innodes and give the data files the name of theinflux-in` node. Then attach those files to a reply.
This will allow myself (or someone else) to use file-in nodes in place of the influx-in nodes and we could test your flow to see if we can recreate the issue.
Let me explain. Since I don't have your influx database, your flows will not run for me. Since the flow is grabbing data from the influxdb, by capturing that data and storing it in files, I can remove the `influx-in' nodes and replace them with 'file-in' nodes to read the data you provide.
You provided 4 files but you have 5 influx-in nodes. The data from this influx-in was not provided so the flow doesn't work since it needs that data.