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 GeoNetwork Enterprise:

  1. Copy the schema-iso19139.ca.HNAP-xxx.jar file to geonetwork/WEB-INF/lib

  2. Copy the iso19139-to-iso19139.ca.HNAP folder to data-folder/config/schema_plugins

  3. Restart the GeoNetwork Enterprise

Deploy user manual in an existing installation

To add the user manual to existing installation:

  1. Extract the file:schema-iso19139.ca.HNAP-xxx-doc.zip into geonetwork/doc folder.

  2. 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.