Version 2 (modified by 12 years ago) ( diff ) | ,
---|
Add Support for Inspire Download Service As Atom Feed
Date | 2012/09/18 |
Contact(s) | Paul van Genuchten |
Last edited | |
Status | OnGoing |
Assigned to release | 2.x |
Resources | |
Ticket # | |
Github source |
Proposal
Generate Atom
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.
http://.../geonetwork/srv/eng/ATOM?uuid=a3d33-...
Would return a document like:
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:georss="http://www.georss.org/georss" xmlns:inspire_dls="http://inspire.ec.europa.eu/schemas/inspire_dls/1.0" xml:lang="nl"> <title xml:lang="nl">INSPIRE Download service </title> <subtitle xml:lang="nl"></subtitle> <link href="http://nationaalgeoregister.nl/geonetwork/srv/nl/iso19139.xml?id=448130" rel="describedby" type="application/vnd.iso.19139+xml" /> <link href="http://..../geonetwork" rel="self" type="application/atom+xml" hreflang="nl" title="this" /> <id>http://..../geonetwork</id> <rights>no limits</rights> <updated>2012-06-25T10:45:03Z</updated> <author> <name>me</name> <email>me@altern.org</email> </author> <entry> <title xml:lang="nl">title</title> <inspire_dls:spatial_dataset_identifier_code>e39bd6e0-7651-11e0-a1f0-0800200c9a62</inspire_dls:spatial_dataset_identifier_code> <inspire_dls:spatial_dataset_identifier_namespace>http://www.cultureelerfgoed.nl</inspire_dls:spatial_dataset_identifier_namespace> <link rel="alternate" href="http://.../geonetwork/data/4258.zip" type="application/x-shapefile" hreflang="eng" length="1084685" title="" /> <id>http://.../geonetwork/data/4258.zip</id> <updated>2012-06-26T00:00:00</updated> <category term="http://www.opengis.net/def/crs/EPSG/0/4258" label="ETRS89" /> <id></id> <updated>2012-06-25T10:45:03</updated> <summary></summary> <georss:polygon>50.74 3.25 53.48 3.25 53.48 7.22 50.74 7.22 50.74 3.25</georss:polygon> <category term="http://www.opengis.net/def/crs/EPSG/0/4258" label="ETRS89" /> </entry> </feed>
Validate Atom
Before being able to harvest metadata from Atom Feeds i guess we'll need Atom XSD in GN
Harvest ATOM
Similar to a WMS-capabilities harvest. An Atom harvest would be able to harvest iso19115 and iso19119 metadata records from an Atom feed.
Display Atom Contents
The atom link can be referred to from the Inspire iso19115 and Inspire iso19119 records in the catalogue
<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>
If GN finds such an atom feed url in the gmd:url field, the metadata record-view should get the feed contents and return the (metadata and the) hyperlinked documents inside the Atom document and present them as hyperlinks
Inspire validation of the introduced tooling
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 the introduced tooling complies with the inspire directives. Goal is to minimize manual duplication of metadata elements.
TODO:
- create Atom output format (new metadata.show endpoint using custom xslt)
- Add option to iso19115 'online resource' section to auto generate a hyperlink to an Atom feed referring to the uploaded dataset
- Add option to harvest iso19115/iso19119 metadata from an Atom Feed
- If online resource section contains atom link, present as human readable in metadata record view
- Complience testing
Proposal Type
- Type: Inspire download service improvement
- App: GeoNetwork
- Module: Inspire
Voting history
Vote proposed by Paul on 2012/MM/DD, result was
- ?
Risks
- ?
Participants
- Paul van Genuchten
- Steven Smolders