codelists in schema

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

codelists in schema

sammeek
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
[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: codelists in schema

Jose Garcia
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 <[hidden email]> 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
> [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 <javascript:void(0);> <https://www.facebook.com/geocatbv>
<https://twitter.com/geocat_bv>
<https://plus.google.com/u/1/+GeocatNetbv/posts>Please consider the
environment before printing this email.*
------------------------------------------------------------------------------
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
[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: codelists in schema

Tarcísio Silva de Araújo
In reply to this post by sammeek
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


_______________________________________________
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: codelists in schema

Tarcísio Silva de Araújo
In reply to this post by Jose Garcia
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
[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: codelists in schema

sammeek
In reply to this post by Jose Garcia
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 <[hidden email] 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>

_______________________________________________
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: codelists in schema

Jose Garcia
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 <[hidden email]> 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 <[hidden email] 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
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> > GeoNetwork OpenSource is maintained at
> > http://sourceforge.net/projects/geonetwork
> >
>
> _______________________________________________
> 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> <https://www.facebook.com/geocatbv>
<https://twitter.com/geocat_bv>
<https://plus.google.com/u/1/+GeocatNetbv/posts>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: codelists in schema

Tarcísio Silva de Araújo
In reply to this post by sammeek
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


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