grafana-toolbox / panodata-map-panel

Map Panel for Grafana with improved convenience, robustness and features. Friendly fork of the original Grafana Worldmap Panel. Currently not maintained, but verified to work up to Grafana 9.
https://community.panodata.org/t/grafana-map-panel/121
GNU Affero General Public License v3.0
88 stars 31 forks source link

Vectors instead of dots on a map #100

Open munnik opened 3 years ago

munnik commented 3 years ago

Hi,

I have a data set that provides latitude, longitude, course over ground and speed over ground data. I would like to use the COG and SOG values to create vectors to see the directions of the objects I'm tracking. The COG values are in radians in my case but it is easy to convert them to degrees. Plotting the direction of the vector should be easy. To determine the length I would suggest that the plugin takes a length (in meters) and tries to plot a line of that length and then an arrow head. I can convert the SOG to a length by multiplying it with an interval, so I know the likely location of the object in let's say 5 minutes. If the zoom level is so low that the beginning and end of the vector or on the same pixel then only the arrow head is visible and at least the direction can still be seen.

Kind regards, Martijn