Changes between Version 4 and Version 5 of proposals/InspireDownloadServiceAsAtom
- Timestamp:
- 06/06/13 01:36:41 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
proposals/InspireDownloadServiceAsAtom
v4 v5 1 1 2 = Add Support for Inspire Download Service As Atom Feed=2 = Add Support for Inspire OpenSearch (Atom) = 3 3 4 4 || '''Date''' || 2012/09/18 || … … 17 17 '''Generate Atom''' 18 18 19 Inspire requires either WFS service or Atom xml for downloading datasets. These days governments are uploading xml-files as Atom-files and link to that document from the Geonetwork data download link. The Atom document contains roughly the same information as an Inspire iso19115/9 record in GN. So seems quite usefull to generate this feed document as an output format for Geonetwork. More info can be read in technical guidence for download services doc 3.0rc1 and/or http://wiki.geonovum.nl/index.php/Download_Service_via_Atom_feed (in dutch). 19 Inspire requires either WFS service or Atom xml with link to the download for downloading datasets. More info can be read in technical guidence for download services doc 3.0 20 http://inspire.jrc.ec.europa.eu/documents/Network_Services/Technical_Guidance_Download_Services_3.0.pdf and/or http://wiki.geonovum.nl/index.php/Download_Service_via_Atom_feed (in dutch). 21 22 These days data owners are creating Atom-documents for downloads they provide and link to the Atom document from an iso19115 onlineresource section. The Atom document contains roughly the same information as the actual Inspire iso19115 record in GN. So seems quite usefull to generate this feed document as an output format for Geonetwork (most of this is already implemented in current opensearch gn-implementation). However we've also got some requests from governments that from a legal point of view geonetwork can not create these documents, but should link to and include their content from the original location in the lucene index. The Atom specification is part of the "Inspire Download services", where the geonetwork catalogue is part of the "Inspire Discovery service". In a country responsibility for either one of these services can be delegated to different legal entities. 23 24 So I propose to make a setting in a config-override to support both use cases 25 26 Shared functionality for the implementations will have these features: 27 28 * Atom search queries the standard lucene index (by configuration limited to only records complying to the Inspire standard) and presents the results in an atom document, from this document the individual Atom documents can be accessed. 29 * If an iso19119 metadata record identifier is provided in the url, the search will be limited to this document plus all the related datasets to this document (the download service) 30 * For each iso19119 record an OpenSearch Description document should be available listing all the dataset-identifiers available in the Atom feed. 31 * "Describe Spatial Data Set"-operation will provide a single Atom document for a dataset (inputs are identifier, language) 32 * "Get Spatial Data Set"-operation will provide an attached spatial datafile (inputs are identifier, language, crs) 33 34 == How to extend what we have now == 35 36 In http://trac.osgeo.org/geonetwork/ticket/333 some work has been implemented to introduce OpenSearch. This proposal adds some extra fields (and functionality) to the existing implementation (and/or) is implemented as a series of overrides to not make the current implementation to complex. 20 37 21 38 {{{ 22 http://.../geonetwork/srv/eng/ATOM?uuid=a3d33-... 39 /geonetwork/srv/dut/portal.opensearch 23 40 }}} 24 25 Would return a document like: 41 This url opens the OpenSearch Description document. Some extra fields should be added. The filter with a iso19119 uuid should be implemented, if such a filter is provided a list of all dataset identifiers in this service should be displayed. 26 42 27 43 {{{ 44 /geonetwork/srv/dut/rss.search?any= 45 }}} 46 Queries the index and shows results. Some extra fields should be implemented. The link should not reference the iso19115 record in GN but an Atom document descrbing the dataset. The url for this could look like: 47 {{{ 48 /geonetwork/srv/eng/rss.detail?uuid={uuid}&lang={lang} 49 }}} 50 This is also an implementation of the "Describe Spatial Data Set"-operation 28 51 52 GN will return a document like: 53 54 {{{ 29 55 <feed xmlns="http://www.w3.org/2005/Atom" 30 56 xmlns:georss="http://www.georss.org/georss" … … 75 101 </entry> 76 102 </feed> 103 }}} 77 104 78 105 79 }}} 106 == Implementation with harvested ATOM will require functionality like this == 107 108 '''Collect ATOM''' 109 In the situation that the data provider provides its own Atom document, geonetwork should not link to the Atom document generated by the catalogue, but to the document provided by the data provider. 110 To be able to include the ATOM contents in the Lucene index, we'll need to harvest the Atom document on regular intervals. 111 Similar to a WMS-capabilities harvest. An Atom harvest would be able to collect the contents of the Atom feed and include it as a field in the metadata table, to be able to add it to the lucene index. 112 113 '''Harvest ATOM''' 114 A usecase to consider is that we also create an ATOM harvester which will be able to harvest iso19115 and iso19119 metadata from Atom feeds. 80 115 81 116 '''Validate Atom''' 117 Before being able to collect or harvest Atom Feeds I guess we'll need Atom XSD in GN 82 118 83 Before being able to harvest metadata from Atom Feeds i guess we'll need Atom XSD in GN84 85 '''Harvest ATOM'''86 87 Similar to a WMS-capabilities harvest. An Atom harvest would be able to harvest iso19115 and iso19119 metadata records from an Atom feed.88 119 89 120 '''Display Atom Contents''' 90 121 91 The atom link can be referred to from the Inspire iso19115 and Inspire iso19119 records in the catalogue 122 The atom link can be referred to from the Inspire iso19115 and Inspire iso19119 records in the catalogue, we might add a suggestion button here to be able to auto-add the geonetwork link here, or add a link to your local server 92 123 93 124 {{{ 94 <srv:connectPoint><gmd:CI_OnlineResource><gmd:linkage><gmd:URL> http://.../geonetwork/srv/eng/ATOM?uuid=a3d33-...</gmd:URL></gmd:linkage></gmd:CI_OnlineResource></srv:connectPoint>125 <srv:connectPoint><gmd:CI_OnlineResource><gmd:linkage><gmd:URL>/geonetwork/srv/eng/rss.detail?uuid=a3d33-...</gmd:URL></gmd:linkage></gmd:CI_OnlineResource></srv:connectPoint> 95 126 }}} 96 127 97 128 An example reord can be viewed at: http://www.nationaalgeoregister.nl/geonetwork/srv/nl/iso19139.xml?id=448130 98 129 99 If GN finds such an atom feed url in the gmd:url field, the metadata record-view could get the feed contents and return the linked datasets inside the Atom document and present them as hyperlinks130 Also if GN finds such an atom feed url in the gmd:url field, the metadata record-view could get the feed contents and return the linked datasets inside the Atom document and present them as hyperlinks 100 131 101 '''Inspire validation of the introduced tooling'''102 103 Geonovum (dutch government) has used SoapUi to build a complience test framework for view & download services, http://www.geonovum.nl/dossiers/inspire/implementatie/conformiteit. This framework can be used to check whether the104 introduced tooling complies with the inspire directives. Goal is to minimize manual duplication of metadata elements.105 132 106 133 '''TODO:''' 107 134 108 * create Atom output format (new metadata.showendpoint using custom xslt)135 * create Atom output format (new rss.detail endpoint using custom xslt) 109 136 * Add option to iso19115 'online resource' section to auto generate a hyperlink to an Atom feed referring to the uploaded dataset 110 137 * Add option to harvest iso19115/iso19119 metadata from an Atom Feed 111 138 * If online resource section contains atom link, present as human readable in metadata record view 139 * filter by iso19119-uuid 140 * filter by "inspire compliency"? 112 141 * Complience testing 113 142 … … 120 149 === Voting history === 121 150 122 Vote proposed by Paul on 201 2/MM/DD, result was151 Vote proposed by Paul on 2013/june/6, result was 123 152 * ? 124 153 … … 131 160 * Heikki Doeleman 132 161 * Jose Garcia 162 * Thijs Brentjens / Ine de Visser