-
Notifications
You must be signed in to change notification settings - Fork 7
Conversion from Gemini 2.2 to 2.3
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. Note that this script cannot automatically create valid metadata. If the incoming metadata is invalid, then there's a good chance the converted metadata will be too.
This script will make a couple of changes to your metadata to make it compliant:
- Add or otherwise update the MetadataStandardName to UK GEMINI and the MetadataStandardVersion to 2.3
- 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
- Add a conformance report for datasets or services (the default INSPIRE one) if one doesn't exist already
- Replace references to http://www.opengis.net/gml with http://www.opengis.net/gml/3.2
- Adds a default character encoding of UTF8 out of politeness really