#835: Thesaurus reference not included in thesaurusName block when Thesaurus
picker used to insert keywords
-------------------------+--------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
Type: enhancement | Status: new
Priority: minor | Milestone: v2.7.0
Component: General | Version:
Keywords: |
-------------------------+--------------------------------------------------
A reference to the thesaurus should be available for two reasons:
- allows revisit by thesaurus picker to be coded (see ticket #711)
- users should be able to access the entire thesaurus if required
Suggested fix is to change KeywordBean to encode thesaurus reference in
gmd:otherCitationDetails/gmx:FileName and thesaurus id as id attribute on
gmd:thesaurusName/gmd:CI_Citation *and* don't process gmx:FileName in
updated-fixed-info.xsl when ancestor CI_Citation has a geonetwork
thesaurus in its id attribute.
eg. of a thesaurusName block added with keywords:
{{{
<gmd:thesaurusName>
<gmd:CI_Citation
id="geonetwork.thesaurus.register.theme.bc44a748-f1a1-4775-9395-a4a6d8bb8df6">
<gmd:title>
<gco:CharacterString>THESAURUS NAME</gco:CharacterString>
</gmd:title>
<gmd:date gco:nilReason="unknown"/>
<gmd:otherCitationDetails>
<gmx:FileName
src="http://localhost:8080/geonetwork/srv/eng/metadata.show?uuid=bc44a748-f1a1-4775-9395-a4a6d8bb8df6">register\.theme\.bc44a748\-f1a1\-4775\-9395\-a4a6d8bb8df6</gmx:FileName>
</gmd:otherCitationDetails>
</gmd:CI_Citation>
</gmd:thesaurusName>
}}}
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/835>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#835: Thesaurus reference not included in thesaurusName block when Thesaurus
picker used to insert keywords
-------------------------+--------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
Type: enhancement | Status: new
Priority: minor | Milestone: v2.7.0
Component: General | Version:
Keywords: |
-------------------------+--------------------------------------------------
Comment(by fxp):
A reference to the thesaurus could be created using gmx:Anchor like this
(Not sure it's better than gmx:FileName):
{{{
<gmd:title>
<gmx:Anchor
xlink:href="http://localhost:8080/geonetwork/srv/eng/geonetwork/srv/eng/thesaurus.download?ref=geonetwork.thesaurus.register.theme.bc44a748-f1a1-4775-9395-a4a6d8bb8df6">THESAURUS
NAME</gmx:Anchor>
</gmd:title>
}}}
But this links to the RDF file. Maybe a link to the register view mode is
expected ? In that case:
{{{
<gmd:title>
<gmx:Anchor
xlink:href="http://localhost:8080/geonetwork/?uuid=bc44a748-f1a1-4775-9395-a4a6d8bb8df6">THESAURUS
NAME</gmx:Anchor>
</gmd:title>
<gmd:otherCitationDetails>
<gmx:Anchor
xlink:href="http://localhost:8080/geonetwork/srv/eng/geonetwork/srv/eng/thesaurus.download?ref=geonetwork.thesaurus.register.theme.bc44a748-f1a1-4775-9395-a4a6d8bb8df6">THESAURUS
NAME (SKOS format)</gmx:Anchor>
</gmd:otherCitationDetails>
}}}
I would also replace
* http://localhost:8080/geonetwork/srv/eng/metadata.show?uuid=ABC by
* http://localhost:8080/geonetwork/?uuid=ABC
to make link working in all UI.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/835#comment:1>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#835: Thesaurus reference not included in thesaurusName block when Thesaurus
picker used to insert keywords
-------------------------+--------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
Type: enhancement | Status: new
Priority: minor | Milestone: v2.7.0
Component: General | Version:
Keywords: |
-------------------------+--------------------------------------------------
Comment(by simonp):
Hi Francois,
Thanks for the tips on making the link work in all UI - I'll include that.
As for the gmx:Anchor versus gmx:FileName in otherCitationDetails etc - I
think I prefer the gmx:FileName at the moment for two reasons:
* we build the whole gmd:thesaurusName block so no conflict with other
uses for otherCitationDetails/gmx:FileName
* I don't think the xlink processor exclude option has been coded yet so
we would have issues with the xlink processor including the rdf/whatever
in here at present? (we run with xlink processing on by default here)
Thanks, Simon
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/835#comment:2>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#835: Thesaurus reference not included in thesaurusName block when Thesaurus
picker used to insert keywords
-------------------------+--------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
Type: enhancement | Status: new
Priority: minor | Milestone: v2.7.0
Component: General | Version:
Keywords: |
-------------------------+--------------------------------------------------
Comment(by fxp):
Anchor looks to be used "here" more for keywords than thesaurus (so
gmx:FileName for thesaurus ref looks fine for me - I don't have example
for this). I may add basic support for keyword with Anchor later too (see
#681).
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/835#comment:3>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#835: Thesaurus reference not included in thesaurusName block when Thesaurus
picker used to insert keywords
--------------------------+-------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
Type: enhancement | Status: closed
Priority: minor | Milestone: v2.7.0
Component: General | Version:
Resolution: fixed | Keywords:
--------------------------+-------------------------------------------------
Changes (by simonp):
* status: new => closed
* resolution: => fixed
Comment:
Added in svn rev 8921
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/835#comment:4>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.