Changes between Version 7 and Version 8 of proposals/relatedResource


Ignore:
Timestamp:
04/03/13 01:35:00 (12 years ago)
Author:
fxp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • proposals/relatedResource

    v7 v8  
    22
    33|| '''Date''' || 2013-01-02 ||
    4 || '''Contact(s)''' || Francois Prunayre ||
    5 || '''Status''' || Being discussed, in progress, initial implementation in progress ||
    6 || '''Assigned to release''' || 2.9.x ||
    7 || '''Resources''' || Available (funding Ifremer) ||
     4|| '''Contact(s)''' || Francois Prunayre, Florent Gravin ||
     5|| '''Status''' || Under development ||
     6|| '''Assigned to release''' || 2.9.0 ||
     7|| '''Resources''' || Available (funding Ifremer, PIGMA) ||
    88|| '''Ticket #''' || #XYZ ||
    99|| '''Github dev branch ''' || https://github.com/fxprunayre/core-geonetwork/tree/improvement/relations ||
     
    1212
    1313This proposal aims to improve the way a resource is linked to a metadata in editing mode. Indeed, !GeoNetwork provides multiples ways of adding link to external or internal resources in different places of the editor. We could list:
    14  * in the editor using the binocular to search for a record to link (eg. parentIdentifier, sources, featureCatalog, operatesOn, aggregates)
    15  * file upload for thumbnail or online sources
     14 * in the editor using the binocular to search for a record to link (eg. parentIdentifier, sources, feature catalog, operatesOn, aggregates)
     15 * file upload for thumbnails or online resources
    1616 * custom UI for service/dataset link
    1717
    18 This proposal provide a main component to view, add or remove the related resources.
    19 
    20 A related resource could be:
    21  * A thumbnail (URL or file to upload)
     18This proposal provides a main component to view, add or remove the related resources.
     19
     20The following related resources are managed:
     21 * A thumbnail (linked using a URL or a file to upload)
    2222 * A parent metadata record (UUID to the metadata)
    2323 * A service metadata record
    2424 * A dataset metadata record
    25  * A online source (URL or file to upload)
    26  * A feature catalog (UUID to the metadata in ISO19110 format)
     25 * A source dataset
     26 * An online resource
     27 * A feature catalog
    2728 * A sibling (See http://trac.osgeo.org/geonetwork/wiki/MetadataSiblings)
    2829
    2930
    30 This component is only available for ISO19139 records (or ISO19139 profiles) but when related resources are metadata records, those records could be in any of the catalog supported standards (eg. ISO19110 for feature catalog).
    31 
     31This component is only available for ISO19139 records (or ISO19139 profiles) but when related resources are metadata records, those records could be in any of the catalog supported standards (eg. ISO19110 for feature catalog, dublin core).
     32
     33The relation manager provides a list of related resources and links to remove them.
    3234
    3335[[Image(geonetwork-relation-manager.png)]]
     36
     37
     38New relation could be added using the top right menu:
     39
     40[[Image(geonetwork-relation-manager-actions.png)]]
    3441
    3542
     
    4148=== Links ===
    4249 * '''Documents''':
     50  * http://trac.osgeo.org/geonetwork/wiki/MetadataSiblings
     51  * http://trac.osgeo.org/geonetwork/wiki/MetadataRelation
     52
    4353
    4454=== Voting History ===
     
    5161
    5262This related resource panel rely on:
    53  * the relation services (to retrieve current relation for a record)
     63 * the relation service (to retrieve current relation for a record)
    5464 * XSL processing to add or remove a relation
     65
    5566
    5667=== Add a thumbnail ===
     
    5869Two types of thumbnails could be linked to a metadata record:
    5970 * an image linked using its URL (the image needs to be published online)
    60  * an image uploaded in the record data directory. After upload a small thumbnail could be created if requested.
    61 
    62 
    63 The thumbnail upload form provide a simple way to add thumbnails:
     71
     72[[Image(geonetwork-add-thumbnails-by-url.png)]]
     73
     74 * an image uploaded in the record data directory. During upload a small thumbnail could be created if requested.
     75
    6476[[Image(geonetwork-add-thumbnails.png)]]
    6577
     
    6779
    6880
     81
    6982When the image is uploaded, the XML snippet corresponding to the image is the following:
    7083{{{
     84<!-- Thumbnail added by  upload -->
    7185<gmd:graphicOverview>
    72         <gmd:MD_BrowseGraphic>
    73                 <gmd:fileName>
    74                         <gco:CharacterString>http://www.cyber-heritage.co.uk/maps/map3.jpg</gco:CharacterString>
    75                 </gmd:fileName>
    76         </gmd:MD_BrowseGraphic>
    77 </gmd:graphicOverview>
    78 <gmd:graphicOverview xmlns:srv="http://www.isotc211.org/2005/srv">
    7986        <gmd:MD_BrowseGraphic>
    8087                <gmd:fileName>
     
    93100When linking using a URL, the following XML snippet is inserted
    94101{{{
     102<!-- Thumbnail added by URL -->
    95103<gmd:graphicOverview>
    96104        <gmd:MD_BrowseGraphic>
     
    102110}}}
    103111
     112
    104113In both cases, the information could be improved or updated using the editor from the advanced view > identification section.
    105114
    106115
    107 
    108116=== Add an online source ===
    109117
    110 The relation manager allows to add a simple online resource element defining URL, name, description and protocol.
     118The relation manager allows to add an online resource element defining the following information:
     119 * URL or a file to upload
     120 * name
     121 * description
     122 * protocol
    111123
    112124
     
    116128
    117129
    118 === Link dataset and service metadata records ===
     130=== Link metadata records ===
    119131
    120132
    121133=== Add a parent metadata record ===
    122134
    123 In order to add a link to a parent metadata record, search for the target record in the popup and select the parent metadata to link to the current in editing.
     135In order to add a link to a parent metadata record, search for the target record and select the parent metadata to link to the current in editing.
    124136
    125137[[Image(geonetwork-add-parents.png)]]
    126138
    127 Once added, the following XML is inserted in the metadata record:
     139Once added, the following XML fragment is inserted in the metadata record:
    128140
    129141{{{
     
    141153=== Add a sibling ===
    142154
    143 ISO Metadata records can be related to one another in different ways. The elements in the ISO standard that support sibling relationships are the aggregationInfo element. Sibling relationships types can be specified using an extendible codelist. See http://trac.osgeo.org/geonetwork/wiki/MetadataSiblings for more details.
     155ISO Metadata records can be related to another record with different type of relations. The elements in the ISO standard providing those links is the aggregationInfo element. Sibling relationships types can be specified using the initiative type and association type fields. See http://trac.osgeo.org/geonetwork/wiki/MetadataSiblings for more details.
    144156
    145157
     
    147159 * choose a type of association
    148160 * choose a type of initiative
    149  * and search for the record to link
     161 * and search for the records to link
    150162
    151163[[Image(geonetwork-add-siblings.png)]]
     
    163175
    164176{{{
    165 <gmd:aggregationInfo>
     177    <gmd:aggregationInfo>
    166178        <gmd:MD_AggregateInformation>
    167179            <gmd:aggregateDataSetIdentifier>
     
    189201
    190202
     203=== Add a source dataset ===
     204
     205In the data quality section, the source dataset could be linked to a record.
     206
     207Once added, the following XML fragment is inserted in the metadata record:
     208
     209{{{
     210<gmd:source uuidref="095cdc57-f44b-4613-894c-f09f1b672140">
     211</gmd:source>
     212}}}
     213
     214In the editor, the relation could be updated in the data quality section:
     215
     216[[Image(geonetwork-edit-sources.png)]]
     217
     218
     219=== Add a feature catalog ===
     220
     221The feature catalog is used to describe the data model of a dataset using the ISO19110 standards.
     222In the content information section, the feature catalog could be linked to a record. The relation panel filter ISO19110 record in order to quickly link a feature catalog.
     223
     224Once added, the following XML fragment is inserted in the metadata record:
     225
     226{{{
     227<gmd:contentInfo>
     228        <gmd:MD_FeatureCatalogueDescription>
     229                <gmd:includedWithDataset/>
     230                <gmd:featureCatalogueCitation uuidref="46ce9c2f-6c37-4ae7-9511-63940ece5760" xlink:href="http://localhost:8080/geonetwork/srv/en/csw?service=CSW&amp;request=GetRecordById&amp;version=2.0.2&amp;outputSchema=http://www.isotc211.org/2005/gmd&amp;elementSetName=full&amp;id=46ce9c2f-6c37-4ae7-9511-63940ece5760"/>
     231        </gmd:MD_FeatureCatalogueDescription>
     232</gmd:contentInfo>
     233}}}
     234
     235In the editor, the relation could be updated in the content information section:
     236
     237[[Image(geonetwork-edit-fcats.png)]]
     238
     239
     240
     241
     242
    191243=== Relation manager widget advanced configuration ===
    192244