Dataviz in QGIS and on the web
This is a modal window.
The media could not be loaded, either because the server or network failed or because the format is not supported.
Formal Metadata
Title |
| |
Title of Series | ||
Number of Parts | 351 | |
Author | ||
License | CC Attribution 3.0 Unported: You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor. | |
Identifiers | 10.5446/69076 (DOI) | |
Publisher | ||
Release Date | ||
Language | ||
Production Year | 2022 |
Content Metadata
Subject Area | ||
Genre | ||
Abstract |
| |
Keywords |
00:00
PlotterPlug-in (computing)BitLibrary (computing)Functional (mathematics)Software frameworkVisualization (computer graphics)Combinational logicUser interfaceJSONComputer animationProgram flowchart
00:37
Core dumpThermal expansionClient (computing)Data typeRaw image formatTetraederOpen sourceProjective planeMultiplication signLevel (video gaming)Field (computer science)Web 2.0PlotterLetterpress printingQuaternion groupProbability density functionServer (computing)Web browserVector spacePie chartUser interfaceDemo (music)Type theoryPlug-in (computing)Physical systemPower (physics)View (database)Computer animation
02:46
Letterpress printingPlug-in (computing)Server (computing)
03:00
Web pageServer (computing)Probability density functionPlug-in (computing)Context awarenessWeb 2.0JSON
Transcript: English(auto-generated)
00:00
So, what is data visualization in QGIS? Basically, the combination of QGIS and the Plotly library makes this plugin that we developed that is called Data Plotly, available for all the users and this is a little bit the framework of the plugin.
00:22
You have the Qt API that we use to design the user interface, QGIS API to, back to the user of course for all the spatial and GIS function and Plotly API for all the plot function. And we designed it to be as easy as it could be,
00:40
maybe, for the end user. You just select, choose the plot type, vector layer, X field, Y field, and you just click on the create plot and you have an interactive plot there. Powerful of Plotly is that you are dealing, basically, with an HTML plot and we designed it to be also responsive. So, you click on something on the plot
01:01
and you have the same feature on the map that get highlighted, not vice versa. And so, we got also one step forward, why not having this plugin also available in print layout? So, you can design in QGIS print layout and you can have static plot, like this one in GIF that you are seeing,
01:24
and you can also have, of course, atlas-based plot. I mean, also together in the same layout. So, we have a static plot and an atlas-driven plot. In the bar plot of below, now it's moving, so depending on the well that is now the feature,
01:44
the atlas feature, you see that you have basically the plot that is moving together with the print layout. And, of course, you can export it using the standard QGIS exporting system. So, PDF, PNG, and so on and whatever. Then, I will leave the stage to Etienne.
02:02
Okay, so now that was in QGIS desktop. So, let's say I want to publish this project on the web. So, there is an open-source project called lismap-web-client. It's a QGIS web interface. You put your QGIS project on the server and it's all published in a web interface, taking the same symbology, yeah, thanks.
02:20
And, it's hosted on GitHub. So, there is already plot in lismap. It's possible to have like data views on layers. So, every time, in this example, every time we click, there is a pop-up showing like some pie chart for this municipality. And, there is a demo that you can find
02:42
on demo.lismap.com about the earthquake in Indonesia. And, then we can also print layouts, which were made in QGIS desktop. So, as Matteo was saying, you can add a data plotly item in your print layout. And then, thanks to a QGIS server and the plug-in running on QGIS server,
03:02
it's possible to print your PDF. It's possible to print your PDF from the web. So, to print layouts and with adding data plotly plug-ins on QGIS server, then it's possible to make QGIS server aware about plotly in a QGIS layout
03:21
running on the server side, yeah.