Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OGC API Records / API improvements #59

Merged
merged 14 commits into from
Dec 2, 2022
Merged

OGC API Records / API improvements #59

merged 14 commits into from
Dec 2, 2022

Conversation

fxprunayre
Copy link
Member

@fxprunayre fxprunayre commented Sep 15, 2022

/items support DCAT output.

Before that change, DCAT output was only provided per records and not for search results.

Downloading a large catalog in DCAT format

curl -v "http://localhost:9901/collections/main/items?f=dcat&limit=12000" > rdf.xml

Made some changes to DCAT mapper to not fail on invalid dates.

Add DataService mapping for services.

Check DCAT-AP validation using https://www.itb.ec.europa.eu/shacl/dcat-ap/upload

image

/items and /item support GeoJSON output.

/conformance added

Before that change, DCAT output was only provided per records
and not for search results.
@fxprunayre fxprunayre added this to the 0.3 milestone Sep 15, 2022
@fgravin
Copy link
Member

fgravin commented Sep 15, 2022

Thanks @fxprunayre
Does it replace the old https://www.datagrandest.fr/geonetwork/srv/fre/rdf.search service ? Which means GN could be harvested by data.gouv.fr ?

@fxprunayre
Copy link
Member Author

Does it replace the old

It could probably be considered as an alternative.

BTW data.gouv.fr should probably rather support harvesting GeoNetwork 3 or 4 using CSW and its DCAT output (see etalab/doc.data.gouv.fr@f8a0b32#r75959289) which is probably the more standardized way to get the catalogue content as DCAT (that we are providing for years now - see geonetwork/core-geonetwork#1407). rdf.search was more a quite old internal/experimental API (see https://trac.osgeo.org/geonetwork/wiki/proposals/DCATandRDFServices). OGC API Records is still a draft.

@fgravin
Copy link
Member

fgravin commented Sep 15, 2022

Ok thanks for the precious inputs.
I'll take a closer look on that.
Cheers

@fxprunayre fxprunayre changed the title OGC API Records / API /items support DCAT output. OGC API Records / API improvements Sep 15, 2022
@hadfoo
Copy link

hadfoo commented Nov 25, 2022

Hello,

I have cloned your branch. Thank you for your job.
I've noticed that the conversion to dcat is still not developed for large catalogs.
I've done this locally. Are you interested in my contributions ?

@sonarcloud
Copy link

sonarcloud bot commented Dec 1, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 2 Security Hotspots
Code Smell A 21 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@fxprunayre fxprunayre merged commit 5576aa3 into main Dec 2, 2022
@fxprunayre
Copy link
Member Author

I've noticed that the conversion to dcat is still not developed for large catalogs.

Not sure what you mean by that. This PR provides option to dump a full catalog in DCAT format.

I've done this locally. Are you interested in my contributions ?

Contributions are welcomed.

@fxprunayre fxprunayre deleted the ogcapi-items-as-dcat branch December 2, 2022 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants