Hi All,
I'm trying to harvest a subset of records from a Geonetwork 3.4.x
installation into CKAN (data.gov.uk) as rdf. There's almost no guidance on
their site about what they accept, apart from this:
https://guidance.data.gov.uk/publish_and_manage_data/harvest_or_add_data/harvest_data/#harvest-data.
I've tried a couple of approaches so far, with varying results:
1) a virtual CSW endpoint with the following CSW GetRecords options:
?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecords&typeNames=dcat&ElementSetName=full&resultType=results
This produces an error in CKAN about needing a plugin installed for xml, so
I looked at providing an outputFormat=application/json parameter to the
above request, but that simply produced an error about an invalid parameter
value.
2) rdf.search?_cat=mysubset produces what seems to be a valid output but
CKAN imports a single record with multiple attached datasets rather than
multiple records. It also doesn't seem to bring through the actual metadata.
Firstly, can I configure my schema to accept more outputformats?
Secondly, am I missing anything with these two approaches?
My final plan is to use the DCAT schema plugin:
https://github.com/metadata101/dcat-ap1.1/tree/3.4.x but I don't know much
about it and whether it's going to help at all.
Can anyone provide me with any advice?
I would be happy to contribute to the documentation about this if I can
figure it out!
Jo
--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For urgent
responses at that time, please visit support.astuntechnology.com or phone
our office on 01372 744009
--
--
*Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates> for updates on news,
products, conferences, events and training*
*
*
Astun Technology Ltd, The
Coach House, 17 West Street, Epsom, Surrey, KT18 7RL, UK
t:+44 1372 744
009 w: astuntechnology.com <http://astuntechnology.com/> twitter:@astuntech
<https://twitter.com/astuntech>
iShare - enterprise geographic
intelligence platform <https://astuntechnology.com/ishare/>
GeoServer,
PostGIS and QGIS training <https://astuntechnology.com/services/#training>
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login>
Company registration
no. 5410695. Registered in England and Wales. Registered office: 120 Manor
Green Road, Epsom, Surrey, KT19 8LN VAT no. 864201149.