This is the ISO19115-3 schema plugin for GeoNetwork 3.x or greater version.
- http://www.iso.org/iso/catalogue_detail.htm?csnumber=53798
- http://www.iso.org/iso/catalogue_detail.htm?csnumber=32579
- https://github.com/ISO-TC211/XML/
## Description:
This plugin is composed of:
- indexing
- editing (Angular editor only)
- editor associated resources
- directory support for contact, logo and format.
- viewing
- CSW
- from/to ISO19139 conversion
- multilingual metadata support
- validation (XSD and Schematron)
## Metadata rules:
The metadata identifier is stored in the element mdb:MD_Metadata/mdb:metadataIdentifier. Only the code is set by default but more complete description may be defined (see authority, codeSpace, version, description).
<mdb:metadataIdentifier>
<mcc:MD_Identifier>
<mcc:code>
<gco:CharacterString>{{MetadataUUID}}</gco:CharacterString>
</mcc:code>
</mcc:MD_Identifier>
</mdb:metadataIdentifier>
The metadata linkage is updated when saving the record. The link added points to the catalog the metadata was created. If the metadata is harvested by another catalog, then this link will provide a way to retrieve the original record in the source catalog.
<mdb:metadataLinkage>
<cit:CI_OnlineResource>
<cit:linkage>
<gco:CharacterString>http://localhost/geonetwork/srv/eng/home?uuid={{MetadataUUID}}</gco:CharacterString>
</cit:linkage>
<cit:function>
<cit:CI_OnLineFunctionCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#CI_OnLineFunctionCode"
codeListValue="completeMetadata"/>
</cit:function>
</cit:CI_OnlineResource>
</mdb:metadataLinkage>
The parent metadata records is referenced using the following form from the editor:
<mdb:parentMetadata uuidref="{{ParentMetadataUUID}}}"/>
Nevertheless, the citation code is also indexed.
Validation steps are first XSD validation made on the schema, then the schematron validation defined in folder iso19115-3/schematron. 2 famillies of rules are available:
- ISO rules (defined by TC211)
- INSPIRE rules
## CSW requests:
If requesting using output schema http://www.isotc211.org/2005/gmd an ISO19139 record is returned. To retrieve the record in ISO19115-3, use http://standards.iso.org/iso/19115/-3/mdb/1.0 output schema.
<?xml version="1.0"?>
<csw:GetRecordById xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
service="CSW"
version="2.0.2"
outputSchema="http://standards.iso.org/iso/19115/-3/mdb/1.0">
<csw:Id>cecd1ebf-719e-4b1f-b6a7-86c17ed02c62</csw:Id>
<csw:ElementSetName>brief</csw:ElementSetName>
</csw:GetRecordById>
Note: outputSchema = own will also return the record in ISO19115-3.
### GeoNetwork version to use with this plugin
This is an implementation of the latest XSD published by ISO-TC211. It'll not be supported in 2.10.x series so don't plug it into it! Use GeoNetwork 3.0.3+ version.
The best approach is to add the plugin as a submodule into GeoNetwork schema module.
cd schemas
git submodule add https://github.com/metadata101/iso19115-3.git iso19115-3
Add the new module to the schema/pom.xml:
<module>iso19139</module>
<module>iso19115-3</module>
</modules>
Add the dependency in the web module in web/pom.xml:
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>schema-iso19115-3</artifactId>
<version>${project.version}</version>
</dependency>
Add the module to the webapp in web/pom.xml:
<execution>
<id>copy-schemas</id>
<phase>process-resources</phase>
...
<resource>
<directory>${project.basedir}/../schemas/iso19115-3/src/main/plugin</directory>
<targetPath>${basedir}/src/main/webapp/WEB-INF/data/config/schema_plugins</targetPath>
</resource>
Build the application.
Once the application started, check the plugin is loaded in the admin > standard page. Then in admin > Settings, add to metadata/editor/schemaConfig the editor configuration for the schema:
"iso19115-3":{
"defaultTab":"default",
"displayToolTip":false,
"related":{
"display":true,
"categories":[]},
"suggestion":{"display":true},
"validation":{"display":true}}
Polygon or line editing and view.
Comments and questions to geonetwork-developers or geonetwork-users mailing lists.
- Simon Pigot (CSIRO)
- François Prunayre (titellus)
- Arnaud De Groof (Spacebel)
- Ted Habermann (hdfgroup)