Menu

#18 support link protocol type for geonetwork CSW response

open
nobody
Geoportal (20)
5
2011-02-09
2011-02-09
eggwhites
No

Geonetwork uses different protocols strings for the type of an online resource described by a metadata record. For example, you could find this protocol type in the /csw:GetRecordByIdResponse/gmd:MD_Metadata/gmd:contact/gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:onLine/gmd:CI_OnlineResource/gmd:protocol/gco:CharacterString element of the returned metadata record.

The protocol types are:

•WWW:LINK-1.0-http--link -->example http://www.website.com/
•WWW:DOWNLOAD-1.0-http--download --> this is a download url, e.g. http://ows.server.org/geonetwork/srv/en/resources.get?id=uuid&name=filename.zip
•OGC:WMS-1.1.1-http-get-map --> a WMS getmap operation, e.g. http://ows. server.org/geoserver/wms?SERVICE=WMS&request=GetCapabilities
•OGC:WFS-1.0.0-http-get-capabilities --> a WFS getcapabilities operation, e.g., http://ows. server.org /geoserver/ows?service=wfs&version=1.0.0&request=GetCapabilities

Other protocols strings that can be present are:
OGC:WMS-1.1.1-http-get-capabilities
OGC:WFS-1.0.0-http-get-feature

The Geoportal should be able to determine a link type from the geonetwork CSW response and assign the appropriate links on the search result to those types, such that the ‘Website’ link is present when the WWW:LINK-1.0-http--link is in the records response, ‘Open’ when WWW:DOWNLOAD-1.0-http--download in the response, ‘Preview’ when OGC:WMS-1.1.1-http-get-map is in the response.

Discussion


Log in to post a comment.