[GeoNetwork-users] codelists in schema

Dear List (Jose?)

I'm trying to implement custom code lists in a custom schema. I have
created the codelist file in loc/end/codelists.xml and used a combination
of the new elements' codelists and existing iso 19139 elements that I want
to override. Is there another file I need to edit to assign the codelists
as drop downs? I believe that this is still marked *todo* on the
instructions on the website.

Thanks

Hi Sam

There's no override feature for the translations files. You need to add all
the values for the codelist in your schema, the metadata editor should use
the values from your schema by default.

In case doesn't find a codelist in your schema I think defaults to iso19139
(but not 100% sure), but if the codelist is defined in your schema all the
values for the codelist are taken from there.

Regards,
Jose García

On Tue, Aug 28, 2018 at 3:11 PM Sam Meek <sam.meek@anonymised.com> wrote:

Dear List (Jose?)

I'm trying to implement custom code lists in a custom schema. I have
created the codelist file in loc/end/codelists.xml and used a combination
of the new elements' codelists and existing iso 19139 elements that I want
to override. Is there another file I need to edit to assign the codelists
as drop downs? I believe that this is still marked *todo* on the
instructions on the website.

Thanks

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <javascript:void(0);> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

Hello Sam,

I'm having the same problem as yours. Did you solve it?

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html

Hello Jose,

I used the generator-geonetwork-metadata-schema, but the generated schema
consumes the iso19139 codelist.

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html

Hello Jose,

I used the generator-geonetwork-metadata-schema, but the generated schema
consumes the iso19139 codelist.

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html

Hi

I did solve it and I did it by using the codelists.xml file in loc/eng/
folder.

I ended up matching on an attribute of the elements in the XML metadata
document that refers to the codelst. For example:

<element codeList="www.mycodelistNameSpace"
codeListValue="myCodeListValue">myCodeListValueLabel</element>
but I used the full codelist namepace in the loc/eng/codelists.xml file to
look up to, does this make sense?

Sam

On Tue, 19 Feb 2019, 18:03 tatau <tarcisio.saraujo@anonymised.com wrote:

Hello Jose,

I used the generator-geonetwork-metadata-schema, but the generated schema
consumes the iso19139 codelist.

--
Sent from:
http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html

_______________________________________________
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

Hi Sam

See https://github.com/geonetwork/core-geonetwork/issues/3042 and the
related pull requests with the fixes, referenced in the issue.

Regards,
Jose García

On Wed, Feb 20, 2019 at 9:58 AM Sam Meek <sam.meek@anonymised.com> wrote:

Hi

I did solve it and I did it by using the codelists.xml file in loc/eng/
folder.

I ended up matching on an attribute of the elements in the XML metadata
document that refers to the codelst. For example:

<element codeList="www.mycodelistNameSpace"
codeListValue="myCodeListValue">myCodeListValueLabel</element>
but I used the full codelist namepace in the loc/eng/codelists.xml file to
look up to, does this make sense?

Sam

On Tue, 19 Feb 2019, 18:03 tatau <tarcisio.saraujo@anonymised.com wrote:

> Hello Jose,
>
> I used the generator-geonetwork-metadata-schema, but the generated schema
> consumes the iso19139 codelist.
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html
>
>
> _______________________________________________
> 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
>

_______________________________________________
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

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

Hi Sam,

I did as informed by Jose in
https://github.com/geonetwork/core-geonetwork/issues/3042. It's OK

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html