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

Simplification in MetadataTreeFormat output

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.3, 0.4, 0.5, 0.6, 0.7
    • 0.8
    • Metadata
    • None

    Description

      We could simplify and clarify a little bit the tree produced by the MetadataTreeFormat by using two additional rules:

      Use less lines in simple case

      If a property has the same name than the parent property that contains it, we could write its value in that parent property. For example instead of:

      Citation
       └─Date
          ├─Date…………………… 2012/01/01
          └─Date type …… Creation
      

      We could simplify as:

      Citation
       └─Date…………………………… 2012/01/01
          └─Date type …… Creation
      

      Tell the sub-type

      If a property has the same name than the value type, and if that value type has sub-type, we could format the actual value sub-type in the tree. For example Citation as a property named party of type Party (ignoring multi-occurrences). But Party has two sub-types: Individual and Organisation. So instead of:

      Citation
       └─Cited responsible party
          └─Party
             └─Name ……………………………… Jon Smith
      

      It would be helpful to format:

      Citation
       └─Cited responsible party
          └─Individual
             └─Name ……………………………… Jon Smith
      

      Attachments

        Activity

          People

            desruisseaux Martin Desruisseaux
            desruisseaux Martin Desruisseaux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: