You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
people using Kotori for tracking moving objects are often avid fans of the TrackMap Panel for Grafana by @pR0Ps and contributors (cheers!).
As originally reported at #31, it appears that grafana-trackmap-panel expects that the latitude and longitude attributes to be stored within InfluxDB fields. Currently, Kotori stores them into InfluxDB tags instead, based on a simple heuristic.
In order to turn off the current behavior, please use Kotori from the repository and adjust those lines within kotori/kotori/daq/storage/influx.py accordingly:
-if "latitude" in data and "longitude" in data: +if False and "latitude" in data and "longitude" in data:
chunk["tags"]["latitude"] = data["latitude"]
chunk["tags"]["longitude"] = data["longitude"]
del data['latitude']
del data['longitude']
Hi there,
people using Kotori for tracking moving objects are often avid fans of the TrackMap Panel for Grafana by @pR0Ps and contributors (cheers!).
As originally reported at #31, it appears that
grafana-trackmap-panel
expects that thelatitude
andlongitude
attributes to be stored within InfluxDB fields. Currently, Kotori stores them into InfluxDB tags instead, based on a simple heuristic.kotori/kotori/daq/storage/influx.py
Lines 195 to 199 in 0247da5
We might think about changing that default behavior and making it configurable instead.
With kind regards,
Andreas.
The text was updated successfully, but these errors were encountered: