Canadian profile on Harmonized North American Profile (HNAP)
HNAP-Canada is a profile on Harmonized North American Profile which itself is a profile on ISO19139:2007.
This schema plugin adds capabilities for viewing, authoring and validating HNAP-Canada records to GeoNetwork.
References:
Deploy the profile in an existing installation
To add the schema plugin to GeoCat Find:
- Copy the
schema-iso19139.ca.HNAP-xxx.jarfile togeonetwork/WEB-INF/lib - Copy the
iso19139-to-iso19139.ca.HNAPfolder to{data-folder}/config/schema_plugins - Restart GeoCat Find.
Deploy user manual in an existing installation
To add the user manual to existing installation:
- Extract the file
schema-iso19139.ca.HNAP-xxx-doc.zipintogeonetwork/docfolder. - The user manual is available at: http://localhost:8080/geonetwork/doc/index.html
Changes To Standard Schema Build and Initialization
The jar contains some custom code that gets run when GeoNetwork starts up. This will look in the GeoNetwork Data Directory (ThesauriDir) and check to see if the HNAP Thesauruses are already there. If they are not (i.e. this is the very first run of GeoNetwork with the HNAP Schema), then they are are copied from the JAR to the correct location in the Data Directory. Otherwise it does nothing.