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

Martin Desruisseaux updated SIS-394:
------------------------------------
    Description: 
Interfaces in the following packages were used to be defined in ISO 19115 
standard published in 2003:

* {{org.opengis.metadata.quality}}
* {{org.apache.sis.metadata.iso.quality}} (as a consequence of above 
{{….opengis.…}} interfaces)

But in the revision published in 2014, most types about data quality have been 
removed from ISO 19115 and moved to another standard, ISO 19157. This standard 
upgraded the data quality model with new classes and properties, but those 
changes are not yet reflected in our Java API. We should update the 
{{….quality}} packages with this new model, otherwise our upgrade to the new 
ISO 19115:2014 model is not complete.

The fact that quality part is missing can be seen by looking at classes in the 
above-cited Apache SIS quality metadata package, for example 
{{AbstractElement}}, {{DefaultDataQuality}} and {{DefaultQuantitativeResult}} 
classes: all getter methods with the following annotation annotation are 
properties that were removed or moved elsewhere, but for which we have not yet 
determined the replacement. Those methods are not yet deprecated for that 
reason, but would be deprecated once this SIS-394 task is done.

{code:java}
@XmlElement(…, namespace = LegacyNamespaces.GMD)
public Foo getFoo() {…}
{code}


  was:
Interfaces in the {{org.opengis.metadata.quality}} package (and consequently, 
classes in the {{org.apache.sis.metadata.iso.quality}} package) were used to be 
defined in ISO 19115 standard published in 2003. But in the revision published 
in 2014, most types about data quality have been removed from ISO 19115 and 
moved to another standard, ISO 19157. This standard upgraded the data quality 
model with new classes and properties, but those changes are not yet reflected 
in our Java API. We should update the {{….quality}} packages with this new 
model, otherwise our upgrade to the new ISO 19115:2014 model is not complete.

The fact that quality part is missing can be seen by looking at classes in the 
{{org.apache.sis.metadata.iso.quality}} package, for example 
{{AbstractElement}} and {{DefaultDataQuality}} classes: all getter methods with 
an {{\@XmlElement(…, namespace = LegacyNamespaces.GMD)}} annotation are 
properties that were removed or moved elsewhere, but for which we have not yet 
determined the replacement. Those methods are not yet deprecated for that 
reason, but would be deprecated once this SIS-394 task is done.


> Implement data quality (ISO 19157) in metadata package
> ------------------------------------------------------
>
>                 Key: SIS-394
>                 URL: https://issues.apache.org/jira/browse/SIS-394
>             Project: Spatial Information Systems
>          Issue Type: Task
>          Components: Metadata
>    Affects Versions: 0.5, 0.6, 0.7, 0.8
>            Reporter: Martin Desruisseaux
>            Priority: Major
>
> Interfaces in the following packages were used to be defined in ISO 19115 
> standard published in 2003:
> * {{org.opengis.metadata.quality}}
> * {{org.apache.sis.metadata.iso.quality}} (as a consequence of above 
> {{….opengis.…}} interfaces)
> But in the revision published in 2014, most types about data quality have 
> been removed from ISO 19115 and moved to another standard, ISO 19157. This 
> standard upgraded the data quality model with new classes and properties, but 
> those changes are not yet reflected in our Java API. We should update the 
> {{….quality}} packages with this new model, otherwise our upgrade to the new 
> ISO 19115:2014 model is not complete.
> The fact that quality part is missing can be seen by looking at classes in 
> the above-cited Apache SIS quality metadata package, for example 
> {{AbstractElement}}, {{DefaultDataQuality}} and {{DefaultQuantitativeResult}} 
> classes: all getter methods with the following annotation annotation are 
> properties that were removed or moved elsewhere, but for which we have not 
> yet determined the replacement. Those methods are not yet deprecated for that 
> reason, but would be deprecated once this SIS-394 task is done.
> {code:java}
> @XmlElement(…, namespace = LegacyNamespaces.GMD)
> public Foo getFoo() {…}
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to