Layers
  • 01 Aug 2024
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Layers

  • Dark
    Light
  • PDF

Article summary

Defining layers

Select Keygwt_Core -> Layers.

  • Type: layer type

WFS

WMS

TMS

WMTS

OSM

Google

MapServer

ComboMS

  • Name: unique internal name of the layer.
  • Label: internal label of the layer.
  • Label [fi]...Label [en]: label of the layer and its translations displayed to the user.
  • Url: The URL from which the layer is downloaded.
  • Parameters: layer-related parameters that will be sent to the map server.
  • Options: layer-related options that will be sent to the map server.
  • Order:
  • System:
  • Print url:
  • Data model:
  • Metaresource: WFS meta resource (see the WFS Resource chapter).
  • Additional data models:

Layer group permissions

Select Keygwt_Core -> Layer group permissions.

Layer locks

Data import locks the layer into which the data is imported for the duration of the operation in order to ensure that the layer cannot be deleted while data is being imported. To remove the lock in problem situations, go to the Admin site (Keygwt_core -> Layer locks).

Layer legend elements

Select Keygwt_Core -> Layer legend elements

  • Layer legend: See the Layer legends chapter.
  • Description [fi]... Description [en]: a description and translations of the layer legend element, which will be displayed to the user.
  • Fill color: symbol fill color that will be displayed in the legend, for example, the color used to fill in a circle
  • Stroke color: symbol stroke color that will be displayed in the legend, for example, the color used to draw a circle.
  • Stroke width: line width of a symbol that will be displayed in the legend.
  • Type: symbol and preview image that will be displayed in the legend.
  • Line dash length (px): length of a line for drawing a dashed line. In addition, the line space length must be defined.
  • Line space length (px): length of a line space for drawing a dashed line. In addition, the line dash length must be defined.
  • Icon url: URL address that will be displayed instead of a symbol.
  • Order: order of elements displayed to the user.

Layer legends

Select Keygwt_Core -> Layer legends.

The layer legend determines the layer for which the legend will be displayed. The layer legend elements define what is displayed in the legend. Layer legend elements are discussed in the Layer legend elements chapter.

  • Layer: layer on which the legend is displayed (see the Defining layers chapter.

Layer info

Select Keygwt_Core -> Layer info.

  • Node: See the Layer switcher nodes chapter.
  • Header [fi].. Header [en]: header and its translations that are displayed to users.
  • Description [fi]... Description [en]: layer description and its translations.
  • Copyright [fi]…Copyright [en]: copyright information for the layer data and the related translations.
  • Source [fi]... Source [en]: layer data source.

Freely defined extra data for layer info

Select Keyqwt_core -> Layer info EAV values.

  • Entity ct: not in use.
  • Entity id: layer info to which the freely defined extra data will be linked.
  • Text: information as text.
  • Link: URL link to the data, if available.
  • Extra data: Information specified for the layer. (See the Defining freely defined extra data chapter.
  • Created: creation date.

Layer switcher nodes

Select Keygwt_Core -> Layer switcher nodes.

  • Name: internal name of the layer switcher node.
  • Node type: whether this is a layer or a layer group.
  • Parent: parent under which the layer switcher node will be created. If nothing is selected, the node will be created at the highest level of the hierarchy.
  • Label: internal label.
  • Label [fi]...Label [en]: group label and its translations displayed to users. For individual layers, the layer label is displayed.
  • Order: position within a group.
  • Layer: the layer in question (see the Defining layers chapter).
  • Checked: whether this is defined as a default. Not relevant to groups.
  • Expanded: whether this is expanded by default (applicable to groups only).

Was this article helpful?

What's Next