Ticket #717 (closed enhancement: fixed)

Opened 5 months ago

Last modified 4 months ago

Define Feature Catalogue relations in metadata xml

Reported by: josegar74 Owned by: geonetwork-devel@…
Priority: major Milestone: v2.7.0
Component: General Version: v2.6.4
Keywords: Cc:

Description

In actual implementation Feature Catalogue relations are stored only in the database (relations table).

This enhancement stores the relation in metadata xml, keeping the storage in database for backwards compatibility.

The relation is stored like:

<gmd:featureCatalogueCitation uuidref="22a7c5a0-3bea-4e53-9356-83d27d333cd8" xlink:href="http://localhost:8080/geonetwork/srv/en/metadata.show?uuid=22a7c5a0-3bea-4e53-9356-83d27d333cd8"/>

As CSW doesn't manage the iso19110 records in the xlink:ref url is use the metadata.show service instead.

Attached patch to review.

Attachments

Change History

Changed 5 months ago by josegar74

Changed 5 months ago by josegar74

  • milestone changed from v2.6.5 to v2.7.0

Changed 5 months ago by fxp

I would suggest a minor change (to be discussed) for the xlink:href URL:

  • option 1: at least, point to a more generic URL  http://localhost:8080/geonetwork/?uuid=22a7c5a0-3bea-4e53-9356-83d27d333cd8 which will work with both classic and new GUI.
  • option 2: or point to a CSW GetRecordsById (after applying #723 which will add support for ISO19110 in ISO format in the output). This method also has the advantage to point to an XML document and not an HTML page like the srv:operatesOn/@xlink:href to link datasets and services.

Changed 5 months ago by josegar74

option 2 seem the best to me.

Changed 4 months ago by josegar74

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.