OpenWork-NZ / core-geonetwork

GeoNetwork repository
http://geonetwork-opensource.org/
GNU General Public License v2.0
0 stars 3 forks source link

Retain Keyword Hierarchy on Metadata Record #88

Open ghost opened 1 year ago

ghost commented 1 year ago

Can we retain the keyword hierarchy in the catalogue's metadata?

When searching for "OCEAN TEMPERATURE" in the Science Keywords there are two duplicated options. However, these are not the same because they are part of different hierarchies.

image

This results in:

OCEAN TEMPERATURE *from: https://ant-nz.geodata.nz/geonetwork/srv/eng/catalog.search#/metadata/4a38ad3e-f0c9-4bf1-acd5-173ed41360a4 However, if we only retain the lowest level of the hierarchy we can't determine what keyword hierarchy "Ocean Temperature" belongs to (there are multiple hierarchies that use "OCEAN TEMPERATURE": EARTH SCIENCE -> OCEANS -> OCEAN TEMPERATURE -> OCEAN MIXED LAYER EARTH SCIENCE -> OCEANS -> OCEAN TEMPERATURE -> POTENTIAL TEMPERATURE EARTH SCIENCE SERVICES -> ENVIRONMENTAL ADVISORIES > MARINE ADVISORIES -> OCEAN TEMPERATURE + more.... You can see in a metadata record at the GCMD that this hierarchy is retained: https://cmr.earthdata.nasa.gov/search/concepts/C1214305813-AU_AADC.iso19115 EARTH SCIENCE > HUMAN DIMENSIONS > ENVIRONMENTAL IMPACTS > HEAVY METALS CONCENTRATION > NONE > NONE > NONE By implementing this, the JSON will need to deal with this differently because its keywords should continue to use the lowest level of the hierarchy because if it used every keyword across the hierarchy it would end up with so many keywords the function of the keywords for searching would relate to so many records its utility would become redundant.
ghost commented 1 year ago

The GeoNetwork at IMAS might be a useful reference. They're implemeting the GCMD keywords: https://metadata.imas.utas.edu.au/geonetwork/srv/eng/catalog.search#/metadata/01b862fd-6f8d-4d9a-8bd8-ad8567e498d9

image