Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: update to new simplified convention

...

Code Block
languagebash
. <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>

...

SERVICE
sectionkeyvalue typerequired/optional/defaultvalue description

titlestringyeshuman-readable title of the workspace (used as title for all contained OWS: WMS, WFS, WCS)
abstract

string

yesabstract, 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>)
keywordsstring listno  

owner.layer.toml
Anchor
owner.layer
owner.layer

...

LAYER
sectionkeyvalue typerequired/optional/defaultvalue description

titlestringyeshuman-readable title of the layer
abstract

string

yesabstract, 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>)
keywordsstring listno
LAYER_SETTINGSstyle_default

string

yesname of the SLD file (including file extension) to use as default style. The filename need to match the actual style name. SLD files need to go here: <label>/_styles/*.sld
style_alternativesstring listno

names of SLD files (including file extension) to use as alternative styles. The filename need to match the actual style name. SLD files need to go here: <label>/_styles/*.sld.

RESOURCESgallery_mappingstringno
(defaults to
to gallery.mapping.json)

name of gallery mapping file. Only required if deviating from gallery.mapping.json.


filter_mappingstringno
(defaults to
to filter.mapping.json)

name of gallery mapping file. Only required if deviating from filter.mapping.json.


popup

string

no
(defaults to
to popup.md)

name of popup metadata template file. Only required if deviating from popup.md.


sidebarstringno
(defaults to
to sidebar.md)

name of sidebar metadata template file. Only required if deviating from sidebar.md.

AUTODEPLOYresourcesbooleanno
(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
booleanno
(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!

...

Code Block
languagebash
titleFolder Structrure
. 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
languageyml
titlecommon/media/owner.service.toml
linenumberstrue
[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
languageyml
titlecommon/media/photos/owner.layer.toml
linenumberstrue
[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

...