-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crossfiltering between map panel and other panels #78
Comments
That app is up at https://library-dev.safecast.cc/index btw if anyone wants to play with it (maybe not forever but for now anyway). What we'd be interested in is having a way to draw shapes on the grafana map panel, then have that create a geo filter (maybe a dashboard variable?) that would apply to all the panels on a dashboard. |
Dear Rob and Mat, thank you so much for bringing this up, it resonates very much with us. Let me collect some places here where the community has already talked about this feature in the past. Mat already mentioned that at grafana#179 the other day, where we already picked it up from and referenced in our wishlist for Grafana. Also, Rob mentioned it within #66 a few weeks ago. It is somehow related to the general topic of cross filtering between multiple panels in Grafana, but let's focus on the Map Panel being the driver for now in this very context. #31 also includes some references into that direction. So, I wanted to take the chance to ping @xkilian and @tobiasdirksen, but more specifically @anatolyza about it, because he already worked on integrating Leaflet-Geoman - a Leaflet plugin for drawing and editing geometry layers - on behalf of a fork from here. We already reported about that at #20 (comment) and the current diff is at develop...anatolyza:develop, where some valuable improvements into that direction could be picked up from. With kind regards, P.S.: Last but not least, I would like to mention #23 and #44 here, which are more distantly related and also the great Crossfilter, which is living on https://github.com/crossfilter these days. The dc.js - Dimensional Charting Javascript Library already makes use of that and by mixing in D3-technologies, they have some beautiful examples demonstrating crossfiltering examples between maps (choropleths) and other data at US Venture Capital Landscape 2011 and Major Canadian City Crime Stats 1998-2011. It's not quite on the spot because we want to draw shapes on the map, but nevertheless it's always enjoyable to see such nice eyecandy and might add some motivation. |
@robouden said:
|
Dear Rob, would you prefer Leaflet.draw over Leaflet-Geoman? From my perspective, Leaflet-Geoman looks way better in terms of features and current maintenance. With kind regards, |
Not sure what it would involve, but it would be very usefully for Safecast to have the option like in Kibana to have a "draw polygons and select data" option on the map.
A project at Safecast has resulted in a stand-alone leaflet setup that would produce the effect (link). It would be wonderful to have that option with the map plugin and also useful for other users I think. (@matschaffer has also information about that project.)
regards,
Rob Oudendijk
The text was updated successfully, but these errors were encountered: