...
Code Block | ||
---|---|---|
| ||
. <repo>
|-- admin.*
|
|-- <label>
| |-- admin.*
| |
| |-- _styles/<SLD files>
| |-- _resources/<resource files>
| |
| `-- <service>
| |-- owner.service.toml
| |-- admin.*
| |
| |-- _resources/<resource files>
| |
| `-- <layer>
| |-- owner.resources.toml
| |-- owner.layer.toml
| |-- admin.*
| |
| `-- _resources
| |-- popup.md
| |-- sidebar.md
| |-- gallery.mapping.json
| `-- filter.mapping.json
|
|-- _resources/<resource files>
|
`-- _other
|
`-- <arbitrary-service-id>
|-- owner.urls
|
|-- _resources/<resource files>
|
`-- <layer>/_resources/<resource files> |
...
section | key | value type | required/optional/default | value description | |
---|---|---|---|---|---|
title | string | yes | human-readable title of the workspace (used as title for all contained OWS: WMS, WFS, WCS) | ||
abstract | string | yes | abstract, describing the service's content. VEF (Marine Data Viewer) supports Markdown URL representation (<http://www.marine-data.de> , [Marine Data](http://www.marine-data.de>) ) and HTML (like <br><br> , <a></a> ) | ||
keywords | string list | no |
owner.layer.toml Anchorowner.layer owner.layer
A layer folder results in a layer of the same name withing the OWS representet by its parent service-layer folder. A layer has a human-readable title, an abstract and optional keywords – just like a scientific paper. These metadata can be specified in <label>/<service>/<layer>/owner.layer.toml
. Additionally default and alternative styles (referencing SLD files in <label>/_styles/
) and VEF resources can be specified. If desired the default mechanism of auto-deploying changes to the GeoServer (styles, metadata) and/or VEF (recoures) can be deactivated.
section | key | value type | required/optional/default | value description |
---|
LAYER
title | string | yes | human-readable title of the layer | |
abstract | string | yes | abstract, describing the layer's content. VEF (Marine Data Viewer) supports Markdown URL representation (<http://www.marine-data.de> , [Marine Data](http://www.marine-data.de>) ) and HTML (like <br><br> , <a></a> ) | |
keywords | string list | no |
SETTINGS | style_default | string | yes | name of the SLD file (including file extension) to use as default style. The filename |
needs to match the actual style name. SLD files need to go here: |
<label>/_styles/*.sld | |||
style_alternatives | string list | no | names of SLD files (including file extension) to use as alternative styles. The |
filenames need to match the actual style name. SLD files need to go here: |
| |||
RESOURCES | gallery_mapping | string | no (defaults |
to gallery.mapping.json ) | name of gallery mapping file. Only required if deviating from | ||
filter_mapping | string | no (defaults |
to filter.mapping.json ) | name of gallery mapping file. Only required if deviating from | ||
popup | string | no (defaults |
to popup.md ) | name of popup metadata template file. Only required if deviating from | ||
sidebar | string | no (defaults |
to sidebar.md ) | name of sidebar metadata template file. Only required if deviating from | |||
AUTODEPLOY | resources | boolean | no (defaults to true ) | whether to autodeploy (accepted merge requests will trigger instant updates in AWI-hosted VEF-based viewers, applying changes in resource files) changes for this layer to production. If set to false, triggering updates otherwise is encouraged. Talk to your SDI admins! |
geoserver | boolean | no (defaults to true ) | whether to autodeploy (accepted merge requests will trigger instant updates in O2A GeoServers, applying changes in styles, service/layer metadata) changes for this layer in production. If set to false, triggering updates otherwise is encouraged. Talk to your SDI admins! |
_other
FolderThe _other
subfolder is the place to store resources for services/layers which are not hosted in the GeoServer part of the O2A SDI to be used within VEF-based viewers. This subtree only contains resource files (see above for specs), owner.urls
files but neither SLD nor any other configuration files.
...
Code Block | ||||
---|---|---|---|---|
| ||||
. https://gitlab.awi.de/software-engineering/sdi/de.awi.sdi.o2a_spatial.dataproducts | `-- common | |-- _styles | |-- marehubPhotos.sld | `-- marehubPhotosPreview.sld | `-- media |-- owner.service.toml |-- admin.service.toml | `-- photos |-- owner.layer.toml |-- admin.layer.toml |-- admin.databasestore.toml | `-- _resources |-- popup.md |-- sidebar.md |-- gallery.mapping.json `-- filter.mapping.json |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
[SERVICE]
title = "Media OWS"
abstract = '''
Media service with photo and video data provided by AWI, Geomar and Hereon. Curated metadata is extracted from image FAIR Digital Objects (iFDOs) (<https://marine-imaging.com/fair/>) or automatically harvested from data products in Pangaea (<https://pangaea.de/>).
'''
keywords = [ "WMS", "WFS", "MareHUB", "videos", "photos", "image", "iFDO", "PANGAEA" ] |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
[LAYER] title = "Photos" abstract = "Layer with data provided by the three marine research centers AWI, Geomar and Hereon. It includes data collected during marine research projects as well as data enriched for this layer, i.e., technical metadata taken directly from the file, such as EXIF data. Depending on the data set, the provided metadata varies for each data product. Preview photos that are provided via urls are lossy processed to make them accessible for the web. This results in a loss of data information, even if not visible." keywords = [ "MareHUB", "photos", "image", "PANGAEA" ] [LAYER_SETTINGS] style_default = "marehubPhotos.sld" style_alternatives = [ "marehubPhotosPreview.sld" ] [AUTODEPLOY] resources = false |
...