[
https://issues.apache.org/jira/browse/SIS-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Desruisseaux updated SIS-298:
------------------------------------
Affects Version/s: 0.7
Fix Version/s: (was: 0.7)
0.8
> 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
> 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.3.4#6332)