INSPIRE-compliant data/metadata coupling with deegree 3

INSPIRE sets a high value on metadata and coupling of data and metadata. For example, the GetCapabilities response of an INSPIRE-compliant View Service links every offered layer to the corresponding ISO/INSPIRE metadata record (which is usually served by an INSPIRE Discovery Service). An example snippet from a Layer element (nested in a WMS capabilities document) could look like this:

MetadataURL snippetIn order to support the generation of these MetadataURL elements, deegree WMS and WFS configurations now support the new options MetadataURLTemplate and MetadataSetId:

<deegreeWMS [...]>


    <Title>Administrative unit</Title>


The global MetadataURLTemplate element provides a template for generating URLs of ISO metadata records. In the example, this is a KVP-encoded GetRecordById request template to a CSW instance. Every layer (for WFS: feature type) in the configuration can carry a MetadataSetId element to define the actual metadata record identifier (usually a UUID). This allows deegree WMS to generate the MetadataURL element in the GetCapabilities response.

Advanced options:

  • If one omits the MetadataURLTemplate element, deegree will assume that you want to generate URLs that point back to the deegree CSW instance on the same endpoint as the WMS/WFS (deegree offers an INSPIRE-compliant CSW as well). 
  • MetadataStoreId: If this global element is specified, deegree will access the internal metadata store with the specified id to retrieve the metadata record and magically augment the layer metadata reported in the capabilities. For instance, the Title and Abstract elements can be populated this way. Currently, this only makes sense if the same deegree instance hosts the CSW with the metadata records, but we’re working on enabling the access to any ISO/INSPIRE compliant CSW for retrieving the metadata.

For now, the new configuration options provide a first option to generate the MetadataURLs required by INSPIRE. In the near future, real integration between WMS/WFS and CSW should ease metadata configuration for GetCapabilities responses. If a CSW/INSPIRE Discovery Service is available to provide proper service and data metadata, every applicable piece of metadata (Title, Abstract, Keywords, …) should be automatically imported and reused for generating the GetCapabilities responses of deegree WMS and WFS.


About Markus Schneider

Geospatial software developer, CEO of Occam Labs
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s