Hello Martin,
Thank you for for these pieces of information! It makes things much
clearer and confirms what I had inferred from the documentation.
However, as you may guess, ISO19115-3:2016 XML metadata are not accepted
by Geonetwork.
Namespaces have indeed been updated:
xmlns:mdb="http://standards.iso.org/iso/19115/-3/mdb/*2.0*"
Digging into the doc I found this schema updates that GN seems to refer:
https://github.com/ISO-TC211/XML/wiki/Schema-Updates. This is really
confusing to me. I don't understand why namespace updates do not imply
revision of the standard.
Charly
On 02/07/2024 17:04, Martin Desruisseaux wrote:
Hello Charly
Le 2024-07-02 à 15 h 14, Charly Coussot a écrit :
I'm using apache SIS to produce ISO19115-3 metadata and push them in
a Geonetwork (4.4.5 latest version). From the documentation I
understand that Apache SIS produces ISO19115-3:2016. However, the
lastest version of geonetwork asks for ISO19115-3:2018. I can't
really find this revision <https://www.iso.org/standard/80874.html>
[1] on the web appart from Geonetwork documentation
<https://docs.geonetwork-opensource.org/4.4/annexes/standards/iso19115-3.2018/>
[2]. Does anyone have more info on this?
My guess is that the Geonetwork documentation has a typo and wanted to
said "ISO 19115-1:2014 with amendment 1:2018" [3]. Apache SIS 1.4
implements ISO 19115-1:2014/Amd 1:2018 (i.e. amendment included).
However, ISO 19115-1 is an abstract model, therefore this amendment
and the next one (Amd 2:2020) have an impact on the Java API only
(which is derived from the abstract model), not directly on the XML
encoding. Regarding the XML encoding, I found no other update on the
ISO web site than the one you mention [1]. I particular, I saw no
amendments.
I may get back producing ISO19139 to feed Geonetwork since it seems
unlikely that SIS is currently supporting this revision.
Since the Geonetwork documentation does not mention ISO 19115-3:2023,
I guess that they are actually using ISO 19115-3:2016, which should be
compatible with Apache SIS 1.4. Even if they are using the 2023
version, the ISO web site does not mention XSLT files for migrating
from the 2018 version (contrarily to what they did previously), which
suggests that there is few (if any) changes. The main difference I can
see from the abstract [3] is the addition of Schematron rules for
validation.
Anyway, in order to be sure, I suggest to just look at the XML
namespace. Write any MD_Metadata element with Geonetwork. If the XML
header contains the following line:
xmlns:mdb = "http://standards.iso.org/iso/19115/-3/mdb/1.0"
Then, SIS 1.4 and Geonetwork are using the same XML schema and should
be compatible.
Martin
[1] https://www.iso.org/standard/80874.html
[2]
https://docs.geonetwork-opensource.org/4.4/annexes/standards/iso19115-3.2018/
[3] https://www.iso.org/fr/standard/73118.html