Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Version 0.1

Repository Schema

...

  • VEF Metadata Template files (*.md), to configure presentation of your data in popups and sidebar → (documentation coming soon)
  • VEF Filter Mapping files (*.mapping.json) → (documentation coming soon)
  • VEF Gallery Mapping files (*.mapping.json)  → see https://spaces.awi.de/x/TQLeGwVEF Gallery Mapping files (*.mapping.json) → (documentation coming soon)

In general files with specific names inside resources folders will get used automatically. These names are:

...

A service folder refers to a workspace within a GeoServer instance/label and results in an OWS of the same name. Additionally an OWS has a human-readable title, an abstract and optional keywords – just like a scientific paper. These metadata can be specified in <label>/<service>/owner.service.toml. There's also a <service>/_resources subfolder which can be used to provide resources which should be shared among multiple layers of this service (see section on resource handling).

sectionkeyvalue typerequired/optional/defaultvalue description
SERVICEtitlestringyeshuman-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

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.

sectionkeyvalue typerequired/optional/defaultvalue description
LAYERtitlestringyeshuman-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
gallery.mapping.json)

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


filter_mappingstringno (defaults to
filter.mapping.json)

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


popup

string

no (defaults to
popup.md)

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


sidebarstringno (defaults 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!

_other Folder

The _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.

...