Configurazione progetto

Queste impostazioni sono in :menuselection: Progetto –> Proprietà del progetto o 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 usa il Web Feature Service (WFS) per ottenere dati da un livello vettoriale QGIS e visualizzarli nell’interfaccia web. Questo è il motivo per cui la prima cosa da fare ogni volta che si vogliono mostrare i dati di un livello nel client web è di pubblicare il livello vettoriale attraverso il 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