CitiLogics / citilogics-geoloop-panel

Animated Maps in Grafana
MIT License
44 stars 6 forks source link

Overlay areas on map always black #8

Closed aidanboran closed 6 years ago

aidanboran commented 6 years ago

Hi I have installed geoloop plugin using the standard NOAA data set mentioned.

Query part is working fine but I am only seeing black (i.e. single colours) on the map...animation thro the frames works fine - just always black

Using Grafana 4.6.2 on a raspberry pi. geoloop v1.1.1

screen shot 2018-05-29 at 15 58 20 screen shot 2018-05-29 at 16 02 26

samhatchett commented 6 years ago

I'm not exactly clear on the Metrics tab screenshot - if the query doesn't generate data that can be related to the geojson via a matched (influx tag) => (json path), then the polygons would probably be rendered solid black. Could you, in addition to the above, also paste in a sample influx result set, and the relevant geojson to make sure that all the pieces are coordinated?

aidanboran commented 6 years ago

thanks. Here are the two data sets...

screen shot 2018-05-30 at 18 33 41 screen shot 2018-05-30 at 18 34 46
samhatchett commented 6 years ago

ok, so it looks like the query is not coding the location data in the results set. if you add a GROUP BY tag(location) to the Metrics panel, this data will get carried through to the results, and it should all work.

aidanboran commented 6 years ago

excellent. that was it. thank you.