Lizmap Web Client

Since 2023, we've been actively contributing to Lizmap's source code. Here are some of the features we've implemented:

Large project support: single request for all layers

One of Lizmap's greatest strengths is its ability to seamlessly publish QGIS projects to a web interface, without requiring complex configuration. Lizmap's default map composition management requires each layer defined in the project to be loaded individually through specific WMS requests to QGIS Server. While this approach ensures access to layer-specific functionalities (like opacity control), it significantly impacts loading times as layer counts increase. For complex projects with hundreds of layers, this can result in prolonged delays that compromise application usability. Starting with Lizmap 3.8, this default behavior can be modified through the Lizmap plugin configuration:

When enabling the Load layer as single WMS option, Lizmap will use a single request to render the map, both during initial loading and navigation. Using a single WMS request significantly reduces map loading and refresh times for complex projects, resulting in a more responsive application.

single_wms_conf

- Activating the Single WMS request on the Lizmap plugin -

WebDAV protocol support: A unified cloud storage system for files shared between desktop and web

In QGIS, you can configure a layer field to reference resources stored on external storage systems. Among the communication protocols supported by the Attachment widget, QGIS includes WebDAV. Starting with version 3.7, Lizmap correctly interprets the Attachment widget configured with WebDAV protocol in QGIS projects, handling the data exchange with remote storage systems to deliver resources to users. This ensures full compatibility: files accessed through the desktop application will be also available to web clients, and vice versa.

Depending on the layer's edit permissions, users may also upload new files, modify, or delete existing ones.

Details on how to connect a WebDAV server to Lizmap are available in the documentation.

Many-to-many relationship management

This feature significantly enhances many-to-many relationship management in Lizmap, making all pivot table logic completely transparent to users. After configuring a many-to-many relationship in the QGIS project and setting up the configuration in the Lizmap plugin, users can view and manage data between the two related layers without needing to handle the intermediate relationship table: Lizmap automatically manages everything. The related data can be managed both through the layer's attribute table and via feature popups. The newly introduced management functionalities include:

  • displaying of the related items in many-to-many relationships within the attribute table, filtered automatically based on the selected feature from the corresponding related layer.
  • displaying of many-to-many related items in the popup for the selected feature
  • possibility to add a new item, via popup or attribute table, automatically updating the relationship by adding the corresponding record to the intermediate pivot table.
  • relationship update through linking/unlinking of existing items, available both in popups and in the attribute table
  • editing capability for related items directly from popups or the attribute table of the corresponding linked layer.

QGIS Text Widget

Text widgets were introduced in QGIS version 3.30 and represent a great support tool for adding useful information to a layer's data form without the need to add fields or modify the layer itself. Text widgets support QGIS expressions, making it possible to leverage them to add various types of information, from simple ones, such as the length of a geometry or the coordinates of a point, to more complex ones, such as expressions retrieving data from other layers in the project. Text widgets are now also interpreted by Lizmap and are displayed in the Popup alongside all other fields.

text_widget

- Lizmap Text Widget configuration and visualization -