'Visualize geographical data with grafana geomap panel

I have a grafana instance which receives data from a influx-bucket. Within this data i have Latitude and Longitude values for my sensors. And a value which provides every measured value by this sensor.

First of all i wanted to ask if its smart to label longitude and latitude as a _field inside my influx-db-bucket or if it is smarter to label them as another tag ?

The second question would be on how i could query them (flux-language) so that i will see them inside my grafana geomap panel.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source