[GeoNetwork-users] [ISO19115-3] simple view doesn't show lineage

Hi list,

I'm using GeoNetwork 4.0.3. On my ISO 19115-3 metadata, in the simple view, I would have expected to see the lineage appear, as in ISO 19139, but apparently not.

From what I've read on GN doc, to be bale to add it in the AngularJS view <https://github.com/geonetwork/core-geonetwork/blob/main/schemas/&gt;, it need to be indexed.

If I look in index-fields/index.xsl <https://github.com/geonetwork/core-geonetwork/blob/main/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/index-fields/index.xsl#L1047&gt;, it seems to me that the lineage field should be indexed, right ?

But when I look in the ElasticSearch records, I can see that, while there is a lineageObject for ISO19139 metadata, there is nothing similar for ISO19115-3 metadata.

Any hint on how to add the lineage in the simple view, for ISO19115-3 metadata ?

Thanks !

Best,

Jean

--

*Jean Pommier -- pi-Geosolutions*

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

Indeed Jean, there is an error in the XPath.
If you have the chance to test
https://github.com/geonetwork/core-geonetwork/pull/5637 It should fix the
problem.

Thanks for reporting.
Francois

Le mar. 27 avr. 2021 à 18:51, Jean Pommier <jean.pommier@anonymised.com>
a écrit :

Hi list,

I'm using GeoNetwork 4.0.3. On my ISO 19115-3 metadata, in the simple
view, I would have expected to see the lineage appear, as in ISO 19139,
but apparently not.

From what I've read on GN doc, to be bale to add it in the AngularJS
view <https://github.com/geonetwork/core-geonetwork/blob/main/schemas/&gt;,
it need to be indexed.

If I look in index-fields/index.xsl
<
https://github.com/geonetwork/core-geonetwork/blob/main/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/index-fields/index.xsl#L1047&gt;,

it seems to me that the lineage field should be indexed, right ?

But when I look in the ElasticSearch records, I can see that, while
there is a lineageObject for ISO19139 metadata, there is nothing similar
for ISO19115-3 metadata.

Any hint on how to add the lineage in the simple view, for ISO19115-3
metadata ?

Thanks !

Best,

Jean

--

*Jean Pommier -- pi-Geosolutions*

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Thanks François, it indeed fixes the issue

*Jean Pommier -- pi-Geosolutions*

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

Le 28/04/2021 à 08:53, Francois Prunayre a écrit :

Indeed Jean, there is an error in the XPath.
If you have the chance to test https://github.com/geonetwork/core-geonetwork/pull/5637 It should fix the problem.

Thanks for reporting.
Francois

Le mar. 27 avr. 2021 à 18:51, Jean Pommier <jean.pommier@anonymised.com <mailto:jean.pommier@anonymised.com>> a écrit :

    Hi list,

    I'm using GeoNetwork 4.0.3. On my ISO 19115-3 metadata, in the simple
    view, I would have expected to see the lineage appear, as in ISO
    19139,
    but apparently not.

     From what I've read on GN doc, to be bale to add it in the AngularJS
    view
    <https://github.com/geonetwork/core-geonetwork/blob/main/schemas/
    <https://github.com/geonetwork/core-geonetwork/blob/main/schemas/&gt;&gt;,
    it need to be indexed.

    If I look in index-fields/index.xsl
    <https://github.com/geonetwork/core-geonetwork/blob/main/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/index-fields/index.xsl#L1047
    <https://github.com/geonetwork/core-geonetwork/blob/main/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/index-fields/index.xsl#L1047&gt;&gt;,

    it seems to me that the lineage field should be indexed, right ?

    But when I look in the ElasticSearch records, I can see that, while
    there is a lineageObject for ISO19139 metadata, there is nothing
    similar
    for ISO19115-3 metadata.

    Any hint on how to add the lineage in the simple view, for ISO19115-3
    metadata ?

    Thanks !

    Best,

    Jean

    --

    *Jean Pommier -- pi-Geosolutions*

    Ingénieur, consultant indépendant

    Tél. : (+33) 6 09 23 21 36
    E-mail : jp@anonymised.com <mailto:jp@anonymised.com>
    Web : www.pi-geosolutions.fr <http://www.pi-geosolutions.fr>

    _______________________________________________
    GeoNetwork-users mailing list
    GeoNetwork-users@lists.sourceforge.net
    <mailto:GeoNetwork-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geonetwork-users
    <https://lists.sourceforge.net/lists/listinfo/geonetwork-users&gt;
    GeoNetwork OpenSource is maintained at
    http://sourceforge.net/projects/geonetwork
    <http://sourceforge.net/projects/geonetwork&gt;