Configuration du projet

Ces paramètres sont dans Projet ‣ Propriétés du projet ou CTRL+SHIFT+P.

QGIS Server

Project ‣ Project properties ‣ QGIS Server

Services Capabilities

In Service capabilities, you can setup some metadata about your project:

  • Title, the main title which will be displayed in the landing page. Use a human title with space and accents.

  • Abstract, a fully written paragraph for the description. HTML is supported.

  • Keywords, some keywords separated by a comma. This will be used by the search bar.

  • Etc

WMS

  • The extent will be used to set the maximum extent where the user can pan the map on Lizmap

  • Add geometry to feature info response to be able to show the geometry when display the popup or to use the geometry in an expression in the QGIS maptip.

WFS/OAPI

Lizmap Web Client utilise le Web Feature Service (WFS) afin de récupérer la donnée d’une couche vectorielle QGIS et l’afficher dans l’interface web. C’est pourquoi la première chose à faire lorsque vous souhaitez afficher la donnée d’une couche est de publier la couche vectorielle à travers le WFS.

  1. Open the Project properties ‣ QGIS Server ‣ WFS/OAPI

  2. For a given layer:
    1. Use the checkbox Published

    2. If your layer is in meters, decrease the number of decimals, to reduce the size of data to be fetched from WFS. Two decimals might be enough if your layer is in meters.

  3. Save the project