sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SIS-298) Simplification in MetadataTreeFormat output
Date Fri, 17 Nov 2017 14:18:00 GMT

     [ https://issues.apache.org/jira/browse/SIS-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Desruisseaux closed SIS-298.
-----------------------------------

> Simplification in MetadataTreeFormat output
> -------------------------------------------
>
>                 Key: SIS-298
>                 URL: https://issues.apache.org/jira/browse/SIS-298
>             Project: Spatial Information Systems
>          Issue Type: Improvement
>          Components: Metadata
>    Affects Versions: 0.3, 0.4, 0.5, 0.6, 0.7
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>            Priority: Minor
>             Fix For: 0.8
>
>
> We could simplify and clarify a little bit the tree produced by the {{MetadataTreeFormat}}
by using two additional rules:
> h3. 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:
> {noformat}
> Citation
>  └─Date
>     ├─Date…………………… 2012/01/01
>     └─Date type …… Creation
> {noformat}
> We could simplify as:
> {noformat}
> Citation
>  └─Date…………………………… 2012/01/01
>     └─Date type …… Creation
> {noformat}
> h3. 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:
> {noformat}
> Citation
>  └─Cited responsible party
>     └─Party
>        └─Name ……………………………… Jon Smith
> {noformat}
> It would be helpful to format:
> {noformat}
> Citation
>  └─Cited responsible party
>     └─Individual
>        └─Name ……………………………… Jon Smith
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message