Layers — Settings for each layer

Princípio

To set parameters for each layer in the project, which are related to the server or the behavior in Lizmap Web Client.

Configuring the tool

The layer configuration is done in the Layers tab.

Este separador mostra a árvore de camadas do projeto com a mesma organização definida no painel Camadas. Pode selecionar um dos elementos da árvore, uma camada ou grupo e, em seguida, configurar as opções para o grupo ou camada selecionada.

../../_images/interface-layers-tab-01.jpg

Informação sobre grupos e camadas:

  • Title: It will be used in the Web layers tree instead of the name. For layers, the Title field is linked to that of the QGIS Server tab in the layer properties window

  • Abstract: It allows to describe the layer or group. It is displayed in the mouseover. For layers, the Abstract Field is linked to that of the QGIS Server tab in the layer properties window

  • Link: The URL of a document or a web page describing the layer or group.

    An icon properties_svg appears in the Lizmap legend if the link has been set. You can use the Media folder to build an internal link. The button refresh_svg will pick the value set in the Layer Properties ‣ QGIS Server ‣ DataUrl.

Opções das Camadas:

  • Toggled: allows you to specify whether a layer is displayed by default

  • Display in legend tree: toggles visibility of the layer in the layers tree; when toggled off, it does not allow the user to manage the display of it

  • Hide legend image: allows you to hide the legend of the layer in the web interface

  • Group as layer: Option to use on a group in the legend to display it as a single layer, read below

  • Base layer: sets the layer as a base map. This will be accessible via the list of basemap

  • Activate popup: enables information popups on map’s interrogation by clicking. See Popup

  • Single Tile: selects the layer display mode. It can be displayed as multiple images, tiles, or a single image generated by the server

  • Image format:

    • png: full image format, full range of colors with transparency

    • png; mode=16bit: lighter image format, panel color restricted with transparency

    • png; mode=8bit: very light image format, color panel restricts to the maximum with transparency, possible degradation of the image

    • jpeg: light image format without transparency with loss of quality

../../_images/interface-layers-tab-02.jpg

If the layer is provided by a WMS service and that it supports the Web map Coordinate Reference System, it is possible to Directly Request images to the WMS server. This reduces the QGIS-Server load and optimize Lizmap. This option is available in the Third Party WMS layers group.

As opções de grupo:

  • Group as layer:

    • transforma um grupo numa camada única na interface web

    • utilizado para agrupar camadas com a visibilidade dependente da escala

    • simplifica a interface para os utilizadores do mapa Web

    • para criar um tema base a partir de várias camadas

  • se o grupo for uma camada, outras opções se aplicam ao mesmo.

  • Server tile cache