geonetwork / core-geonetwork

GeoNetwork is a catalog application to manage spatially referenced resources. It provides powerful metadata editing and search functions as well as an interactive web map viewer. It is currently used in numerous Spatial Data Infrastructure initiatives across the world.
http://geonetwork-opensource.org/
GNU General Public License v2.0
412 stars 487 forks source link

Support multiple Parents per Child #7863

Open MilesRay opened 6 months ago

MilesRay commented 6 months ago

In Geonetwork 3.12.7.0, You can link multiple parent records to a child whereas in Geonetwork 4.4.2, this is not the case:

Geonetwork 3 image

Geonetwork 4 image

Is there a way to edit how many parent records a child can have?

fxprunayre commented 6 months ago

ISO only allows one parentIdentifier (https://github.com/geonetwork/core-geonetwork/blob/main/schemas/iso19139/src/main/plugin/iso19139/schema2007/gmd/metadataEntity.xsd#L31 and https://github.com/geonetwork/core-geonetwork/blob/main/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/schema/standards.iso.org/19115/-3/mdb/2.0/metadataBase.xsd#L27).

So if it was feasible, it was a bug in version 3.

More and more users are encoding relationship to parent/series/database using the identification > associated resource mechanism. Here you can define the type of relation with more details and also link in both direction depending on your needs.

image