From: GeoNetwork o. D. w. <tra...@os...> - 2011-11-30 10:36:32
|
#691: Keyword selection / add keyword using gmx:Anchor instead of gco:CharacterString -------------------------+-------------------------------------------------- Reporter: fxp | Owner: geonetwork-devel@… Type: enhancement | Status: new Priority: major | Milestone: Future release Component: General | Version: Keywords: | -------------------------+-------------------------------------------------- In some metadata profiles, keywords are created using gmx:Anchor instead of gco:CharacterString. It needs basic support for Anchor (See #681) and changes on !KeywordBean#getComplexIso19139Elt which is called before adding keywords. Example: {{{ <gmd:descriptiveKeywords> <gmd:MD_Keywords> <gmd:keyword> <gmx:Anchor xlink:href="http://www.seadatanet.org/urnurl/SDN:P021::ATVS">Atmospheric visibility and transparency</gmx:Anchor> </gmd:keyword> <gmd:keyword> <gmx:Anchor xlink:href="http://www.seadatanet.org/urnurl/SDN:P021::SAGE">Sediment age</gmx:Anchor> </gmd:keyword> <gmd:type> <gmd:MD_KeywordTypeCode codeList="http://www.seadatanet.org/urnurl/codelists.xml#MD_KeywordTypeCode" codeListValue="parameter" codeSpace="http://www.seadatanet.org/urnurl/">parameter</gmd:MD_KeywordTypeCode> </gmd:type> <gmd:thesaurusName> <gmd:CI_Citation> <gmd:title> <gco:CharacterString>BODC Parameter Discovery Vocabulary</gco:CharacterString> </gmd:title> <gmd:alternateTitle> <gco:CharacterString>P021</gco:CharacterString> </gmd:alternateTitle> <gmd:date> <gmd:CI_Date> <gmd:date> <gco:Date>2009-06-05</gco:Date> </gmd:date> <gmd:dateType> <gmd:CI_DateTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode" codeListValue="revision" codeSpace="ISOTC211/19115">revision</gmd:CI_DateTypeCode> </gmd:dateType> </gmd:CI_Date> </gmd:date> <gmd:edition> <gco:CharacterString>41</gco:CharacterString> </gmd:edition> <gmd:identifier> <gmd:MD_Identifier> <gmd:code> <gco:CharacterString>http://www.seadatanet.org/urnurl/SDN:P021</gco:CharacterString> </gmd:code> </gmd:MD_Identifier> </gmd:identifier> </gmd:CI_Citation> </gmd:thesaurusName> </gmd:MD_Keywords> </gmd:descriptiveKeywords> }}} -- Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/691> 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. |