-
Notifications
You must be signed in to change notification settings - Fork 0
Auxiliary layers
Daniel Santillan edited this page Aug 13, 2024
·
4 revisions
In addition to the indicator/collection layers, it is possible to define base and overlay layers as default for the catalog. This is defined globally for all the collections/indicators of the catalog, and can then be overwritten by any individual indicator/collection.
Two yaml files can be created to list either base layers or overlays to be included. They contain a plain list of layer definitions which expect following parameters:
Element | Type | Description |
---|---|---|
id | string | required: Unique identifier on catalog level |
name | string | recommended: Descriptive name to be shown on user interface |
url | string | required: URL of service endpoint of data |
Attribution | string(html) | recommended: Text to be shown as attribution information for the layer, can include HTML elements |
visible | boolean | (true/false) defaults to true: for baselayers only one should be set to true, rest to false |
protocol | string | required: protocol used for accessing the endpoint defined by url |
In order to include the defined default base and overlay layers for the catalog, following parameters need to be set in the catalog configuration:
Element | Type | Description |
---|---|---|
default_base_layers | string | relative path to baselayer definition file |
default_overlay_layers | string | relative path to overlay definition file |
On the indicator/collection definition
Element | Type | Description |
---|---|---|
BaseLayers | layer definition[] | base layer definition list |
OverlayLayers | layer definition[] | overlay layer definition list |