Support #3212

Connecting RSC catalogues to the INSPIRE geoportal

Added by Angelo Quaglia over 1 year ago. Updated 11 months ago.

Status:FeedbackStart date:20 Apr 2018
Priority:NormalDue date:
Assignee:Angelo Quaglia% Done:

0%

Category:-
Target version:-
Submitting Organisation: Knowledge-Base relevant?:
Proactive:No Keyword #1:
Country: Keyword #2:
Originating UI: Keyword #3:

Description

Dear Joni,

could you please provide the CSW endpoint details?

Best regards,

Angelo

GeonetworkServiceTemplates.PNG (30.5 KB) Joni Kaitaranta, 18 May 2018 02:01 pm

2473

Related issues

Copied from Geoportal Helpdesk - Support #3211: Connecting RSC catalogues to the INSPIRE geoportal Feedback 20 Apr 2018

History

#1 Updated by Joni Kaitaranta over 1 year ago

Entry page: http://metadata.helcom.fi/geonetwork/srv/eng/catalog.search#/home

As you can see it is geonetwork implementation, and the records have passed the (old) INSPIRE validator. 

CSW GetCapabilities: http://metadata.helcom.fi/geonetwork/srv/eng/csw?request=GetCapabilities&service=CSW&acceptVersions=2.0.2&acceptFormats=application%2Fxml

We have not been really using the CSW before (just the geonetwork UI), so might require some editing in our side, if you are pulling information from the getCapabilitites response. 

About filtering/keyword. Currently we have keyword "HOLAS2" specified for the datasets relevant to State of the Baltic Sea report, but it contains a bit more than just the indicators, so we should use something else for it. 

But for testing you could use the "HOLAS2" keyword for filtering the relevant datasets. 

http://metadata.helcom.fi/geonetwork/srv/eng/catalog.search#/search?facet.q=topicCat%2Fenvironment%26keyword%2FHOLAS2&resultType=details&fast=index&_content_type=json&from=1&to=20&sortBy=relevance

 

Let me know if you have questions,

Best regards,

Joni

#2 Updated by Angelo Quaglia over 1 year ago

  • Status changed from Assigned to Feedback

Dear Joni,

many thanks.

The first harvesting, technically, went very well.

Metadata quality is very high, so the first meter is almost off the scale.

However, only datasets were retrieved:

In INSPIRE, you need metadata also for View (WMS) and Download Services (WFS, Atom, etc.) and their capabilities must link to the datasets they serve.

It is because of that reason that the meter on the right is extremely low.

 

The harvesting was performed with the following parameters:

<ns2:MaxParallelRequests>3</ns2:MaxParallelRequests>

<ogc:Filter>

       <ogc:PropertyIsEqualTo>

             <ogc:PropertyName>Subject</ogc:PropertyName>

             <ogc:Literal>HOLAS2</ogc:Literal>

       </ogc:PropertyIsEqualTo>

</ogc:Filter>

 

The harvesting report is available here:

http://inspire-geoportal.ec.europa.eu/resources/sandbox/INSPIRE-c0ddd5de-44ab-11e8-b2be-901b0ea6780d_20180420-170150/services/1/PullResults/

Result of the interaction with the Discovery Service

Resources available for discovery: 169, Expected Resource Count: 169, Actual Resource Count : 169

Best regards,

Angelo

 

 

#3 Updated by Joni Kaitaranta over 1 year ago

Hi,

 

Thanks for the summary. Nice to see it went well in terms of dataset metadata. 

 

We have now created a service metadata based on the existing ISO template that there is in Geonetwork by default for our WMS (1.3.0) service that contains the indicator results (and also other datasets). It is here: 

http://metadata.helcom.fi/geonetwork/srv/eng/catalog.search#/metadata/4edea4bb-298d-4cfb-9440-b658e232b14f

 

Is that something that would be fit for purpose? It simply contains the get capabilities address, where one can get layer list etc. 

 

Best regards,

Joni

 

#4 Updated by Angelo Quaglia over 1 year ago

Dear Joni,

in general you would need to go to:

http://inspire-geoportal.ec.europa.eu/validator2/

and validate your service metadata there.

I did it for you, and the result is available here:

http://inspire-geoportal.ec.europa.eu/resources/sandbox/INSPIRE-fec64902-58e6-11e8-9445-52540023a883_20180516-105617/

 

1) The most serious issue with the metadata is this one:

Unrecognized Spatial Data Service Type

<srv:serviceType>
<gco:LocalName codeSpace="www.w3c.org">OGC:WMS</gco:LocalName>
</srv:serviceType>

in INSPIRE it has to be, for a View Service:

<srv:serviceType>
<gco:LocalName>view</gco:LocalName>
</srv:serviceType>
 
2) The first most serious with the View Service (WMS) is that the layers do not have the metadataURL element containing the link to the metadata of the dataset they portray.
 
3) The first most serious with the View Service (WMS) is that it is missing the INSPIRE Extended Capabilities.
 
Best regards,
Angelo

#5 Updated by Joni Kaitaranta over 1 year ago

Dear Angelo,

Thanks for the swift reply. I have few questions in order to be able to solve the issues. 

It seems that the "Template for WMS service in ISO19139/119" which i used in Geonetwork for this test is not very well suited for this. Do you happen to know if there would be a template available for Geonetwork which we could apply to be used for this? (see attached where is the default template of service)

 

1) "Unrecognized Spatial Data Service Type"

Solution: Adding a tag of service type. Should be simple. Ideally this should be already correct in the template of the WMS service in Geonetwork. 

2) "Layers do not have the metadataURL element containing link to the metadata of dataset they portray".

Is this something that should be in the service metadata record? Not e.g. in the getCapabilities of the service? We have ~200 layers so this is quite big effort to add all these. 

3) "View service is missing the INSPIRE Extended Capabilities"

Should the INSPIRE Extended Capabilities be located in the GetCapabilities file or in the metadata record? 

 

Thanks in advance,

Joni

#6 Updated by Angelo Quaglia over 1 year ago

Dear Joni,

1) That is correct, but please note that since the multplicity of the <srv:serviceType> element is 1, you have to replace the value "OGC:WMS" with "view" which might not be understood by some non-INSPIRE clients

<srv:serviceType>
<gco:LocalName>view</gco:LocalName>
</srv:serviceType>

 

2) I am referring to the MetadataURL element nested inside the Layer element in the OGC WMS Capabilities document.

It has to point to the metadata records of the Spatial Data Set portrayed by the layer, for example:

<Layer queryable="1" opaque="0">

       <Name>AU.AdministrativeUnit</Name>

...

       <MetadataURL type="ISO19115:2003">

             <Format>text/xml</Format>

             <OnlineResource xlink:type="simple" xlink:href="http://mapy.geoportal.gov.pl/wss/service/CSWINSP/guest/CSWStartup?request=GetRecordById&amp;service=CSW&amp;version=2.0.2&amp;outputschema=http://www.isotc211.org/2005/gmd&amp;elementsetname=full&amp;Id=02799338-da67-4e2f-8606-4f24ffb20402"/>

       </MetadataURL>

...

</Layer>

 

However, INSPIRE also requires the so called "Coupled Resources" in the service metadata. The current implementation uses the operatesOn element in the ISO 19139 service metadata, but without the indication the layer name, so it is of limited use.

 

3) The INSPIRE Extended Capabilities resides in the OGC WMS Capabilities

 

You can find good examples of ISO 19139 View Service metadata here:

http://inspire-geoportal.ec.europa.eu/proxybrowser/#fq=-resourceReportResourceLocator%3A%5B*%20TO%20*%5D&fq=resourceType%3Aservice&fq=spatialDataServiceType%3Aview&fq=interoperabilityAspect%3ANETWORK_SERVICE_MATCHING_SERVICE_IS_AVAILABLE&q=*%3A*

 

You can find good examples of ISO 19139 View Services here:

http://inspire-geoportal.ec.europa.eu/proxybrowser/#fq=spatialDataServiceType%3Aview&fq=implementationSpecification%3A%22iso%2019128%3A2005%22&fq=-resourceReportResourceLocator%3A%5B*%20TO%20*%5D&q=*%3A*

 

 

You can use the INSPIRE Geoportal Validator 2 to check your metadata and your services:

http://inspire-geoportal.ec.europa.eu/validator2/

 

Best regards,

Angelo

 

P.S.:

Technical Guidance documents are available

ISO 19139 for INSPIRE: 

https://inspire.ec.europa.eu/Technical-Guidelines2/Metadata/6541

 

OGC WMS 1.3.0 for INSPIRE:

https://inspire.ec.europa.eu/Technical-Guidelines2/Network-Services/41

 

#7 Updated by Michael Lutz over 1 year ago

On the 1st issue raised by Angelo, the MD TG v2.0 says:

NOTE Since the value domain of this metadata element is restricted to the values defined in Part D3 and the multiplicity of the element is 1, it is not possible to provide a more detailed type for the service (e.g. OGC:WMS or OGC:WMTS for a view service). Such additional information can be provided in several ways in the metadata, e.g. using keywords, the srv:serviceTypeVersion element or the gmd:protocol element nested inside the gmd:transferOptions.

#8 Updated by Joni Kaitaranta 11 months ago

Dear Angelo and all,

 

Coming back to this issue in advance of the online meeting tomorrow,  I looked into to implementing some improvements. Those are listed below, with some questions on recommendations on how to proceed. 

 

1) The service tag was added as required:

<srv:serviceType>
<gco:LocalName>view</gco:LocalName>
</srv:serviceType>
 
implemented now here:
 
- that part should be ok? 
 
2) To add MetadataURL elements and for the purpose of connecting a WMS to the geoportal I made a separate service which has fixed amount of layers (~100, assessment results from State of the baltic sea report).
GetCapabilities here: 
 
Some questions related to this: 
- As we are using ArcGIS server, i would have to follow this instruction on modifying the xml file and then republish the service with external capabilities file (the modified xml) to get metadataURLs there: http://enterprise.arcgis.com/en/server/latest/publish-services/windows/using-external-capabilities-files-with-wms-services.htm 
 
Would this be the recommended way to add extended inspire elements to system generated getCapabilities file or do you have any good practices or recommendations for doing this rather than editing the xml manually? We don't have AGS for INSPIRE at hand. 
 
- Which WMS version should i add metadataURLs? All or is just 1.3.0 sufficient? 
 
Probably more questions to follow but it would be good to clarify these before i get going. 
 
Thanks and best regards,
Joni

#9 Updated by Angelo Quaglia 11 months ago

Dear Joni,

1) Yes, the Spatial Data Service Type is now recognised correctly:

Spatial Data Service Type

View Service

but you might want to review this (disregard the errors reported for the layers):

http://inspire-geoportal.ec.europa.eu/resources/sandbox/INSPIRE-fd0587f9-f255-11e8-a75e-52540023a883_20181127-160616/services/1/resourceReport/

 

2) That is OK but you might want to review this:

http://inspire-geoportal.ec.europa.eu/resources/sandbox/INSPIRE-a641f6ac-f256-11e8-a75e-52540023a883_20181127-161100/services/1/resourceLocator1/view/services/1/resourceReport/

 

-the external capabilities file seems a valid approach to me especially since it is documented by ESRI. Of course, there will be a bit more maintenance on your side.

 

- the INSPIRE Geoportal looks first for WMS 1.3.0 - ISO19128 and stops there if it finds it.

 

Best regards,

Angelo

Also available in: Atom PDF