Projet

Général

Profil

Actions

Anomalie #56

fermé

The fileidentifier and identifier-code are changed always

Ajouté par Andrea Peri il y a environ 10 ans. Mis à jour il y a presque 10 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
Début:
07/11/2014
Echéance:
24/11/2014
% réalisé:

100%

Temps estimé:
0.00 h
# ref:

Description

Hi, I notice that when I import an XML ISO19139 metadata the FileIdentifier value
available in the xml file is rewrite.

Infact our xml has (coming from geonetwork) an UUID value like this:

<gmd:fileIdentifier>
      <gco:CharacterString>f93b913b-83b2-4d52-b9bf-b7753d087e58</gco:CharacterString>
  </gmd:fileIdentifier>

When loaded in the qsphere plugin and after re-export to iso19139 , I notice the fileidentifier is
containing the filename and the original fileientifier (UUID for us) is lost.

The FileIdentifier is an unique value identifi-ing the metadata.
But it should also be constant if the metadata is update.
It should change only when a metdata is create from scratch (new metadata) or imported but from a metadata where is is not available (because optional for iso it could not be present)

But I guess the value should not be change from the original value.

So if the FileIdentifier that is optional in ISO is not available I guess is k to add it using the filename, but if it is available in xml the qsphere should not change it.

Please note that the FileIdentifier is important to allow the usage of links in web pages.

Infact in geonetwork it is usable to link directly the html page of a metadata.

Also I notice is change also the
identification-info - citation - identifier - code.

I load infact an xml with this:

               <gmd:identifier>
                  <gmd:MD_Identifier>
                     <gmd:code>
                        <gco:CharacterString>RTSIGTA_UCS_PC_1</gco:CharacterString>
                     </gmd:code>
                  </gmd:MD_Identifier>
               </gmd:identifier>

and re-exporting I see it is became:

<gmd:identifier>
<gmd:RS_Identifier>
<gmd:code>
<gco:CharacterString>EN-2014-qIThrXZLnaRm_110708H59M16S</gco:CharacterString>
</gmd:code>
<gmd:codeSpace>
<gco:CharacterString>Unkwon</gco:CharacterString>
</gmd:codeSpace>
</gmd:RS_Identifier>
</gmd:identifier>

Please notice the usage of "RS_" instead of "MD_"

The RS_Identifier is an specialization of MD_Identifier.

But it is introduce for describe the ReferenceSystem (RS) not the Dataset.

SO I guess also if it is valid for XSD (as specialization of MD_) it is a wrng sage in semantic of metadata.

I attach an image fro ISO to try explain my dubt.

Regards,

A.


Fichiers

rs_identifier.gif (38,5 ko) rs_identifier.gif image from ISO to explain the RS_Identifier role Andrea Peri, 07/11/2014 09:18
ui_catalogue.py (121 ko) ui_catalogue.py Christophe MASSE, 07/11/2014 10:10
importexport.py (46,3 ko) importexport.py Christophe MASSE, 07/11/2014 10:10
transformation_en.xsl (26,4 ko) transformation_en.xsl Christophe MASSE, 07/11/2014 10:10
transformation_fr.xsl (27,4 ko) transformation_fr.xsl Christophe MASSE, 07/11/2014 10:10
Actions

Formats disponibles : Atom PDF