GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
599 stars 94 forks source link

MDTranslator ISO19115-2 to DCATUS: License #4883

Open Jin-Sun-tts opened 1 week ago

Jin-Sun-tts commented 1 week ago

User Story

In order to transform ISO19115-2 documents into DCATUS using mdtranslator, datagov wants to add processing for license

Acceptance Criteria

Background

Security Considerations (required)

None

Sketch

rshewitt commented 1 week ago

iso19115-3 has 3 constraints: common, legal, and security. if these are present in -2 then you should probably create all 3. reference in the constraint is a citation in -3. dcatus only pulls the title from that reference/citation so there shouldn't need to be an update to the citation module because title is already processed

Jin-Sun-tts commented 6 days ago

In the current DCAT-US writer, the license is derived from resourceInfo -> constraints -> reference -> title.

ISO19115-3 
<mri:resourceConstraints>
    <mco:MD_Constraints>
           <mco:reference>
               <cit:CI_Citation>
                  <cit:title>

However, in ISO19115-2, MD_Constraintsunder resourceConstraints does not include a reference element.

 <gmi:MI_Metadata
   <gmd:identificationInfo>
     <gmd:MD_DataIdentification>
       <gmd:resourceConstraints> 
          <gmd:MD_Constraints>
             <gmd:useLimitation>

need guidance on how to locate the corresponding license information in ISO19115-2.