Skip to content

Conversion from Gemini 2.2 to 2.3

Jo Cook edited this page Mar 16, 2020 · 8 revisions

A conversion xsl is provided for converting from Gemini 2.2 to 2.3.

Note: At present this is best used by downloading your old records as a zip file and uploading them again using the import tool. More guidance will be added for converting in place, or using harvesting from a GeoNetwork node or CSW/WxS as soon as possible.

This can be found in https://github.com/AstunTechnology/iso19139.gemini23/blob/3.8.x/src/main/plugin/iso19139.gemini23/convert/xml_gemini22gemini23.xsl but in reality it needs to be copied to your geonetwork\xsl\conversion\import folder.

Once copied to the above folder the conversion script will be available from the Import new records tool in GeoNetwork.

This script will make a couple of changes to your metadata to make it compliant:

  1. Add or otherwise update the MetadataStandardName to UK GEMINI and the MetadataStandardVersion to 2.3
  2. Change the encoding of the access constraints and use limitations elements to meet the new standard, either making a best guess at moving your existing constraints into the correct encoding, or adding the default "no limitations" constraints as appropriate
  3. Add a conformance report for datasets or services (the default INSPIRE one) if one doesn't exist already
  4. Replace references to http://www.opengis.net/gml with http://www.opengis.net/gml/3.2
  5. Adds a default character encoding of UTF8 out of politeness really