Dutch profile for datasets v2 (iso19139.nl.geografie.2.0.0).
Use GeoNetwork 4.2.
The best approach is to add the plugin as a submodule:
-
Use add-schema.sh for automatic deployment:
./add-schema.sh iso19139.nl.geografie.2.0.0 https://github.com/metadata101/iso19139.nl.geografie.2.0.0 4.2.x
-
Build the application:
mvn clean install -Penv-prod -DskipTests
-
Once the application is built, the war file contains the schema plugin:
cd web mvn jetty:run -Penv-dev
After building the application, it's possible to deploy the schema plugin manually in an existing GeoNetwork installation:
-
Copy the content of the folder schemas/iso19139.nl.geografie.2.0.0/src/main/plugin to INSTALL_DIR/geonetwork/WEB-INF/data/config/schema_plugins/iso19139.nl.geografie.2.0.0
-
Copy the jar file schemas/iso19139.nl.geografie.2.0.0/target/schema-iso19139.nl.geografie.2.0.0-4.2.2-SNAPSHOT.jar to INSTALL_DIR/geonetwork/WEB-INF/lib.
If there's no changes to the profile Java code or the configuration (config-spring-geonetwork.xml), the jar file is not required to be deployed each time.
The editor uses a snippet-directive for the conformance field which allows to select a snippet from the catalogue, to be introduced at that location. Unzip snippets.zip to a folder, use import (select type 'subtemplate') to import all the files into the catalogue.
The editor uses a number of thesauri as pick lists for various fields. These thesauri can be downloaded from the INSPIRE registry and Nationaalgeoregister.nl.