r-geoflow / geoflow

Tools to Orchestrate Geospatial (Meta)Data Management Workflows and Manage FAIR Services
https://github.com/r-geoflow/geoflow/wiki
Other
40 stars 14 forks source link

Enrich entity with Metadata relation (CSW GetRecordById, HTML) when geonapi/ows4R 'add_metadata_link' enabled #340

Closed eblondel closed 11 months ago

eblondel commented 11 months ago

An option add_metadata_link (default is TRUE) will be added to both geonapi and ows4R actions to publish IS 19139. Similarly to options in geosapi action, if this option is TRUE, the geoflow entity will be enriched with a relation to the metadata being published. For both actions, the the metadata link added will be the one of an OGC CSW GetRecordbyId request.

The addition will be done at the entity level, so all possible publishing actions could benefit of this link, instead of handling it in the geonapi and ows4R actions.

Development sponsored by IRD @IRDnamik @kikislater @juldebar

eblondel commented 11 months ago

In the case of the CSW action (ows4R), the HTML will be added only when we know it's a Geonetwork behind.