FOSS4G 2022 general tracks

Matteo Ghetta

I am a Python developer of Faunalia, a company based in Tuscany entirely focused on Open Source, especially on GIS software.


Sessions

08-25
15:25
5min
Dataviz in QGIS and on the web
Matteo Ghetta, Etienne Trimaille

QGIS and Dataviz

Creating plots is out of the main scopes of QGIS but thanks to the simple Python API, it is easy enough to create additional scripts and plugins. The DataPlotly plugin has been developed for QGIS(the first release was created in 2017 while nowadays the plugin has been downloaded more than 100,000 times). It's today a well maintained Python plugin with a growing community of developers, users and testers.

DataPlotly allows creating D3 like plots from spatial data. It is build on top of Plotly.com, a JavaScript library which offers an easy API for many languages such as Python, R, Matlab etc.

The plots are completely interactive so that plot elements are directly linked with map items; therefore the user is able to query map items from the main plot canvas. Thanks to a crowdfunding campaign, the functionalities of DataPlotly were extended: a complete refactoring of the code, more plots but especially the creation of plots in the layout composer, also for atlas layouts.

The plugin is also compatible for QGIS server. Lizmap Web Client is an opensource server application to publish QGIS project on the web without any coding skills needed. It’s using QGIS Server in the backend so users have the same rendering between their QGIS Desktop and the web version of their project.
Thanks to the DataPlotLy plugin installed on QGIS Server and to the Lizmap application, it allows users to print PDF with plots from in their web-browser.

Use cases & applications
Room 4