| 1 | |
| 2 | = Add Support for Inspire Download Service As Atom Feed = |
| 3 | |
| 4 | || '''Date''' || 2012/09/18 || |
| 5 | || '''Contact(s)''' || Paul van Genuchten || |
| 6 | || '''Last edited''' || || |
| 7 | || '''Status''' || OnGoing || |
| 8 | || '''Assigned to release''' || 2.x || |
| 9 | || '''Resources''' || || |
| 10 | || '''Ticket #''' || || |
| 11 | || '''Github source''' || || |
| 12 | |
| 13 | |
| 14 | |
| 15 | == Proposal == |
| 16 | |
| 17 | ''''Generate Atom''' |
| 18 | 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. |
| 19 | |
| 20 | {{{ |
| 21 | http://.../geonetwork/srv/eng/ATOM?uuid=a3d33-... |
| 22 | }}} |
| 23 | |
| 24 | Would return a document like: |
| 25 | |
| 26 | {{{ |
| 27 | <feed xmlns="http://www.w3.org/2005/Atom" |
| 28 | xmlns:georss="http://www.georss.org/georss" xmlns:inspire_dls="http://inspire.ec.europa.eu/schemas/inspire_dls/1.0" xml:lang="nl"> |
| 29 | <title xml:lang="nl">INSPIRE Download service </title> |
| 30 | <subtitle xml:lang="nl"></subtitle> |
| 31 | <link href="http://nationaalgeoregister.nl/geonetwork/srv/nl/iso19139.xml?id=448130" rel="describedby" type="application/vnd.iso.19139+xml" /> |
| 32 | <link href="http://..../geonetwork" rel="self" type="application/atom+xml" hreflang="nl" title="this" /> |
| 33 | <id>http://..../geonetwork</id> |
| 34 | <rights>no limits</rights> |
| 35 | <updated>2012-06-25T10:45:03Z</updated> |
| 36 | <author> |
| 37 | <name>me</name> |
| 38 | <email>me@altern.org</email> |
| 39 | </author> |
| 40 | <entry> |
| 41 | <title xml:lang="nl">title</title> |
| 42 | <inspire_dls:spatial_dataset_identifier_code>e39bd6e0-7651-11e0-a1f0-0800200c9a62</inspire_dls:spatial_dataset_identifier_code> |
| 43 | <inspire_dls:spatial_dataset_identifier_namespace>http://www.cultureelerfgoed.nl</inspire_dls:spatial_dataset_identifier_namespace> |
| 44 | <link rel="alternate" href="http://.../geonetwork/data/4258.zip" type="application/x-shapefile" hreflang="eng" length="1084685" title="" /> |
| 45 | <id>http://.../geonetwork/data/4258.zip</id> |
| 46 | <updated>2012-06-26T00:00:00</updated> |
| 47 | <category term="http://www.opengis.net/def/crs/EPSG/0/4258" label="ETRS89" /> |
| 48 | <id></id> |
| 49 | <updated>2012-06-25T10:45:03</updated> |
| 50 | <summary></summary> |
| 51 | <georss:polygon>50.74 3.25 53.48 3.25 53.48 7.22 50.74 7.22 50.74 3.25</georss:polygon> |
| 52 | <category term="http://www.opengis.net/def/crs/EPSG/0/4258" label="ETRS89" /> |
| 53 | </entry> |
| 54 | </feed> |
| 55 | }}} |
| 56 | |
| 57 | |
| 58 | '''Display Atom Contents''' |
| 59 | The atom link can be referred to from the Inspire iso19115 and Inspire iso19119 records in the catalogue |
| 60 | |
| 61 | {{{ |
| 62 | <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> |
| 63 | }}} |
| 64 | |
| 65 | 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 |
| 66 | |
| 67 | |
| 68 | TODO: |
| 69 | * create Atom output format (new metadata.show endpoint using custom xslt) |
| 70 | * Add option to iso19115 'online resource' section to auto generate a hyperlink to an Atom feed referring to the uploaded dataset |
| 71 | * Add option to harvest iso19119 metadata from an Atom Feed |
| 72 | * If online resource section contains atom link, present as human readable in metadata record view |
| 73 | * Alter Geonetwork to comply with ETF Inspire Validation framework (http://www.geonovum.nl/dossiers/inspire/implementatie/conformiteit) for download services, without the need of editing xml-documents manually |
| 74 | |
| 75 | === Proposal Type === |
| 76 | * '''Type''': Inspire download service improvement |
| 77 | * '''App''': GeoNetwork |
| 78 | * '''Module''': Inspire |
| 79 | |
| 80 | === Voting history === |
| 81 | |
| 82 | Vote proposed by Paul on 2012/MM/DD, result was |
| 83 | * ? |
| 84 | |
| 85 | == Risks == |
| 86 | * ? |
| 87 | |
| 88 | == Participants == |
| 89 | * Paul van Genuchten |
| 90 | * Steven Smolders |