Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-508

MD_Scope in place of DQ_Scope when generating old 2007 iso 19139

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0
    • 1.1
    • Metadata
    • None

    Description

      When building DefaultDataQuality objects with a Scope ,

      Generated XML may not contain the appropriate DQ_Scope tag.

      I understand that DQ_Scope was deprecated in iso19115:2014, in favor of MD_Scope. but it might still be valid when generating iso19115:2007 XML.

       exemple:

       DefaultDataQuality dataQuality = new DefaultDataQuality(ScopeCode.DATASET);

      and then :

      XML.marshal(sisMetadata,new StreamResult( xmlOut ), Map.of(XML.METADATA_VERSION, "2007"))
      

      will produce : 

      ...<gmd:dataQualityInfo>
            <gmd:DQ_DataQuality>
               <gmd:scope>
                  <gmd:MD_Scope>
                     <gmd:level>
                        <gmd:MD_ScopeCode ...
      

      and I was expecting :

      ...<gmd:dataQualityInfo>
            <gmd:DQ_DataQuality>
               <gmd:scope>
                  <gmd:DQ_Scope>
                     <gmd:level>
                        <gmd:MD_ScopeCod
      

      because it should be a iso19115:2007 compliant document.

      using SIS v2.0 on the Geomatys repo.

      Attachments

        Activity

          People

            desruisseaux Martin Desruisseaux
            jm.b jean-marc Bourdaret
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: