-
Notifications
You must be signed in to change notification settings - Fork 7
Ensuring your metadata records are recognised as Gemini 2.3
GeoNetwork uses the following elements in the metadata to identify the schema that should assign the metadata to:
<gmd:metadataStandardName/>
<gmd:metadataStandardVersion/>
For records to be identified specifically as Gemini 2.3 these need to be populated as follows:
<gmd:metadataStandardName>
<gmx:Anchor xlink:href="http://vocab.nerc.ac.uk/collection/M25/current/GEMINI/">UK GEMINI</gmx:Anchor>
</gmd:metadataStandardName>
<gmd:metadataStandardVersion>
<gco:CharacterString>2.3</gco:CharacterString>
</gmd:metadataStandardVersion>
If your metadata does not match this exactly, the record will be assigned to the default schema in GeoNetwork. This is probably ISO19139, so your records will not be validated against the Gemini 2.3 schematrons, or use the customised editor with links to the AGI guidance.
Note that is possible to change the default schema that GeoNetwork uses by changing the preferredSchema
parameter in WEB-INF/config.xml.
It is also possible to adjust the text that GeoNetwork will try to match, for example so that a different variant on Gemini 2.3 will also be assigned to the Gemini 2.3 schema. This is done by editing the values in https://github.com/AstunTechnology/iso19139.gemini23/blob/3.8.x/src/main/plugin/iso19139.gemini23/schema-ident.xml#L40-L45. See https://geonetwork-opensource.org/manuals/trunk/en/customizing-application/implementing-a-schema-plugin.html#creating-the-schema-ident-xml-file for more guidance.