Origin of a GeoNetwork file

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Origin of a GeoNetwork file

Oscar Diago Alonso
Good morning!

I've been given a GeoNetwork 3.4 that has been customized with a new language.

One of the customization has been adding more values to the codelist for topics of the ISO19139.

I need to add one more, so in every language I have added a new value to that list in the codelist.xml files of the ISO19139. When I create a new metadata or edit an old one, the new value is offered with no problem.

The issue is in the homepage of GeoNetwork. In the summary, doesn't appear the label for that new topic:



To get the information shown, GeoNetwork performs this call:

http://[myServer]/geonetwork/srv/spa/qi

<topicCat count="1" name="location" label="Localización"/>
<topicCat count="1" name="planningCadastre" label="Planeamiento Catastral"/>
<topicCat count="1" name="newTopic"/>

I have no idea why my new topic doesn't have a label attribute as the other ones.

Where is the info of that call taken from?

Thanks for any help!

Best regards.

Óscar Diago Alonso
Desarrollador GIS / GIS Developer

Tel: +34 945131372 e-mail: mailto:[hidden email]
Calle Pintor Clemente Arraiz, 3 Bajo 01008 Vitoria-Gasteiz
Geograma.  Expertos en GeoInformación

  [cid:image002.png@01D26517.F6475990]
www.geograma.com<http://www.geograma.com/>

Tratamos su dirección de correo electrónico y otros datos personales para mantener el contacto y comunicación con Ud. y, en su caso, remitirle información sobre nuestros productos y servicios. Si no desea recibir tal información envíe un e-mail en tal sentido a [hidden email]<mailto:[hidden email]>
Puede acceder, rectificar y suprimir los datos, así como otros derechos, como se detalla en la información adicional y completa a su disposición en nuestra política de privacidad en la página web https://www.geograma.com/politica-de-privacidad/
Este mensaje, y sus posibles archivos adjuntos, es privado y confidencial, si no es Ud. el destinatario y ha recibido este mensaje por error, rogamos nos lo comunique inmediatamente sin difundir, almacenar o copiar su contenido





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

Picture (Device Independent Bitmap) 1.jpg (7K) Download Attachment
Picture (Device Independent Bitmap) 2.jpg (2K) Download Attachment
Picture (Device Independent Bitmap) 3.jpg (3K) Download Attachment
Picture (Device Independent Bitmap) 4.jpg (2K) Download Attachment
Picture (Device Independent Bitmap) 5.jpg (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Origin of a GeoNetwork file

Jose Garcia
Hi Oscar

The translations for that facet are defined to use the codelist
gmd:MD_TopicCategoryCode:

https://github.com/geonetwork/core-geonetwork/blob/master/web/src/main/webapp/WEB-INF/config-summary.xml#L139

Defined in
https://github.com/geonetwork/core-geonetwork/blob/master/schemas/iso19139/src/main/plugin/iso19139/loc/eng/codelists.xml
(for
English UI, check the related file for your UI language).

If you have extended the codelist with the value newTopic, check that is
added also in that file.

In any case, if this is a custom value for specific metadata schema, and
needs to be interoperable with the INSPIRE portal for example, check that
is removed when exporting the metadata to standard iso19139.

Regards,
Jose García


On Tue, Mar 17, 2020 at 10:08 AM Oscar Diago Alonso <
[hidden email]> wrote:

> Good morning!
>
> I've been given a GeoNetwork 3.4 that has been customized with a new
> language.
>
> One of the customization has been adding more values to the codelist for
> topics of the ISO19139.
>
> I need to add one more, so in every language I have added a new value to
> that list in the codelist.xml files of the ISO19139. When I create a new
> metadata or edit an old one, the new value is offered with no problem.
>
> The issue is in the homepage of GeoNetwork. In the summary, doesn't appear
> the label for that new topic:
>
>
>
> To get the information shown, GeoNetwork performs this call:
>
> http://[myServer]/geonetwork/srv/spa/qi
>
> <topicCat count="1" name="location" label="Localización"/>
> <topicCat count="1" name="planningCadastre" label="Planeamiento
> Catastral"/>
> <topicCat count="1" name="newTopic"/>
>
> I have no idea why my new topic doesn't have a label attribute as the
> other ones.
>
> Where is the info of that call taken from?
>
> Thanks for any help!
>
> Best regards.
>
> Óscar Diago Alonso
> Desarrollador GIS / GIS Developer
>
> Tel: +34 945131372 e-mail: mailto:[hidden email]
> Calle Pintor Clemente Arraiz, 3 Bajo 01008 Vitoria-Gasteiz
> Geograma.  Expertos en GeoInformación
>
>   [cid:image002.png@01D26517.F6475990]
> www.geograma.com<http://www.geograma.com/>
>
> Tratamos su dirección de correo electrónico y otros datos personales para
> mantener el contacto y comunicación con Ud. y, en su caso, remitirle
> información sobre nuestros productos y servicios. Si no desea recibir tal
> información envíe un e-mail en tal sentido a [hidden email]<mailto:
> [hidden email]>
> Puede acceder, rectificar y suprimir los datos, así como otros derechos,
> como se detalla en la información adicional y completa a su disposición en
> nuestra política de privacidad en la página web
> https://www.geograma.com/politica-de-privacidad/
> Este mensaje, y sus posibles archivos adjuntos, es privado y confidencial,
> si no es Ud. el destinatario y ha recibido este mensaje por error, rogamos
> nos lo comunique inmediatamente sin difundir, almacenar o copiar su
> contenido
>
>
>
> _______________________________________________
> GeoNetwork-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>


--











*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/>Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664>Please consider the environment before printing
this email.*

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Origin of a GeoNetwork file

Oscar Diago Alonso
Hi.

Thanks, I had already than that. My issue was much more simple and much more stupid: I had to restart Tomcat.

Best regards.

Óscar Diago Alonso
Desarrollador GIS / GIS Developer

Tel: +34 945131372 e-mail: mailto:[hidden email]
Calle Pintor Clemente Arraiz, 3 Bajo 01008 Vitoria-Gasteiz
Geograma.  Expertos en GeoInformación

[GEOGRAMA]       [cid:image002.gif@01D5FCF8.25D36E80]  [cid:image006.png@01D5FCF8.2607EC00]    [cid:image007.png@01D5FCF8.2607EC00]
www.geograma.com<http://www.geograma.com/>

Tratamos su dirección de correo electrónico y otros datos personales para mantener el contacto y comunicación con Ud. y, en su caso, remitirle información sobre nuestros productos y servicios. Si no desea recibir tal información envíe un e-mail en tal sentido a [hidden email]<mailto:[hidden email]>
Puede acceder, rectificar y suprimir los datos, así como otros derechos, como se detalla en la información adicional y completa a su disposición en nuestra política de privacidad en la página web https://www.geograma.com/politica-de-privacidad/
Este mensaje, y sus posibles archivos adjuntos, es privado y confidencial, si no es Ud. el destinatario y ha recibido este mensaje por error, rogamos nos lo comunique inmediatamente sin difundir, almacenar o copiar su contenido

De: Jose Garcia <[hidden email]>
Enviado el: martes, 17 de marzo de 2020 10:26
Para: Oscar Diago Alonso <[hidden email]>
CC: [hidden email]
Asunto: Re: [GeoNetwork-users] Origin of a GeoNetwork file

Hi Oscar

The translations for that facet are defined to use the codelist gmd:MD_TopicCategoryCode:

https://github.com/geonetwork/core-geonetwork/blob/master/web/src/main/webapp/WEB-INF/config-summary.xml#L139

Defined in https://github.com/geonetwork/core-geonetwork/blob/master/schemas/iso19139/src/main/plugin/iso19139/loc/eng/codelists.xml (for English UI, check the related file for your UI language).

If you have extended the codelist with the value newTopic, check that is added also in that file.

In any case, if this is a custom value for specific metadata schema, and needs to be interoperable with the INSPIRE portal for example, check that is removed when exporting the metadata to standard iso19139.

Regards,
Jose García


On Tue, Mar 17, 2020 at 10:08 AM Oscar Diago Alonso <[hidden email]<mailto:[hidden email]>> wrote:
Good morning!

I've been given a GeoNetwork 3.4 that has been customized with a new language.

One of the customization has been adding more values to the codelist for topics of the ISO19139.

I need to add one more, so in every language I have added a new value to that list in the codelist.xml files of the ISO19139. When I create a new metadata or edit an old one, the new value is offered with no problem.

The issue is in the homepage of GeoNetwork. In the summary, doesn't appear the label for that new topic:



To get the information shown, GeoNetwork performs this call:

http://[myServer]/geonetwork/srv/spa/qi

<topicCat count="1" name="location" label="Localización"/>
<topicCat count="1" name="planningCadastre" label="Planeamiento Catastral"/>
<topicCat count="1" name="newTopic"/>

I have no idea why my new topic doesn't have a label attribute as the other ones.

Where is the info of that call taken from?

Thanks for any help!

Best regards.

Óscar Diago Alonso
Desarrollador GIS / GIS Developer

Tel: +34 945131372 e-mail: mailto:[hidden email]<mailto:[hidden email]>
Calle Pintor Clemente Arraiz, 3 Bajo 01008 Vitoria-Gasteiz
Geograma.  Expertos en GeoInformación

  [cid:image002.png@01D26517.F6475990]
www.geograma.com<http://www.geograma.com><http://www.geograma.com/>

Tratamos su dirección de correo electrónico y otros datos personales para mantener el contacto y comunicación con Ud. y, en su caso, remitirle información sobre nuestros productos y servicios. Si no desea recibir tal información envíe un e-mail en tal sentido a [hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>
Puede acceder, rectificar y suprimir los datos, así como otros derechos, como se detalla en la información adicional y completa a su disposición en nuestra política de privacidad en la página web https://www.geograma.com/politica-de-privacidad/
Este mensaje, y sus posibles archivos adjuntos, es privado y confidencial, si no es Ud. el destinatario y ha recibido este mensaje por error, rogamos nos lo comunique inmediatamente sin difundir, almacenar o copiar su contenido



_______________________________________________
GeoNetwork-users mailing list
[hidden email]<mailto:[hidden email]>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


--
Vriendelijke groeten / Kind regards,

Jose García

[https://www.geocat.net/wp-content/uploads/2015/07/GeoCat_small1.png]<http://www.geocat.net/>
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664<tel:+31318416664>

Please consider the environment before printing this email.


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

image002.gif (3K) Download Attachment
image005.png (9K) Download Attachment
image006.png (8K) Download Attachment
image007.png (11K) Download Attachment