grafana / worldmap-panel

Worldmap panel plugin for Grafana 3.0 that can be overlaid with circles for data points.
MIT License
312 stars 199 forks source link

GeoHash 5 char using JSON coords #162

Open TSprinter opened 6 years ago

TSprinter commented 6 years ago

In addition to: https://github.com/grafana/worldmap-panel/issues/89 Im trying to use GeoHash in WorldMap and have no luck still. Currently i created text JSON file with the following structure:

[
{"key":"00000","lat":-89.978,"lng":-179.978},
{"key":"00001","lat":-89.978,"lng":-179.934},
{"key":"00002","lat":-89.934,"lng":-179.978},
]

After that i calculate geohash 5 char based on the IP address in Oracle and push it to Grafana as a metrics. Here is a WorldMap config: default

And finally i am trying to use JSON file (33.5 Millions of keys = 1.4Gb for 5 char GeoHash) to decode GeoHash and view activity on the map: default

So what is wrong here and how to use GeoHash in the current version of WorldMap?